yousuf.haque
01/18/2018, 3:30 PMOption
?Jorge Castillo
01/20/2018, 10:05 AMraulraja
01/20/2018, 12:18 PMarrow-retrofit-adapters
to provide adapters of all arrow datatypes that adhere to AsyncContext
(soon just Async). That includes Free, Defferred, Observable, Flowable and IO at this time since those are the data types we have that can do Async.raulraja
01/20/2018, 12:20 PMeffects
module would be in line with the current effects modules because AFAIK Retrofit does not provide it's own data types for async and concurrent computations but I may be wrong. Does Retrofit has it's own Future or Promise style data type or relies on third parties and these adapters exclusively?pakoito
01/20/2018, 1:37 PMraulraja
01/20/2018, 1:43 PMgildor
01/22/2018, 3:04 AMyousuf.haque
01/22/2018, 5:05 AMyousuf.haque
01/22/2018, 5:06 AMgildor
01/22/2018, 5:12 AMretrofit2.Converter
. Converter converts body result to specific type, CallAdapter allows to define custom container for data (like Call<T>, Observable<T> and so on). So to implement Option or any other Data Type, you should implement CallAdapter.
Or you can think about it as F<T>
where F
is CallAdapter responsibility, T
is Converter responsibility.pakoito
01/22/2018, 10:28 AMraulraja
01/22/2018, 11:56 AMMonadSuspend
since those are also MonadError
. Our cancel semantics are still unable to actually cancel a Task. It cancels it's next binding but won't kill the task or process, just shortcircuit the computation and not sure if that is the same semantics as required by the CallAdapter