Package-level declarations
Types
An action associated with a DataSource identified by a given key. It represents an event that is described by a given payload.
An action that triggers a DataSource (identified by a given key) call with a given request in a foreground coroutine.
A payload for a DataSourceAction.
Provides DataSources associated with PureDataSourceKeys.
Special type of payload that contains a kotlin.Result. It's not associated with DataSourceAction and it's only a util.
Identifies a DataSource of type T.
The scope for configuring DataSourceResolver with a type-safe DSL.
Functions
Adapts a DataSource with transform to accept a Request instead of a OriginRequest.
Adapts a DataSource with transform to return a Response instead of a OriginResponse.
Returns this as T if it is an instance of DataSourceAction associated with given key.
Returns this as T if it is an instance of DataSourceAction associated with given key.
Resolves a DataSource identified by a given key and calls with a given request.
Calls a DataSource resolved with a DataSourceResolver from a DispatchScope.closure.
Creates a Reducer that:
Creates a DataSource with given block invoked on each DataSource.call.
Creates a DataSourceResolver with a config with type-safe DSL.
Properties
Consumes DataSourceCall and launches a DataSource call in a foreground coroutine.
Returns DataSourceResolver instance associated with a store. It depends on DataSourceResolver element injected into the closure.