manager_internal library

Classes

AsynchronousTask<T>
AsyncTaskCompleterReference<T>
A class that represents a references saved and tracked by Manager
GenericAsyncTask<T>
GenericSyncTask<T>
Manager<T>
An event-driven structure that has the single state of a type T.
ManagerObserver
A class that can observe multiple Managers.
ManagerObserverBase<M extends Manager<S>, S>
An abstract interface implemented by ManagerObserver and SingleManagerObserver
SingleManagerObserver<M extends Manager<S>, S>
SynchronousTask<T>
Task<T>
A structure that represents a mutation operation applied to Manager.run.
TaskErrorEvent<T>
A class that is used to represent an error state of AsynchronousTasks in Manager.on.
TaskEvent<T>
A class that is used to represent a value emitted by Manager.on
TaskKillEvent<T>
A class that is used to represent a state when CancelableAsyncTaskMixins are killed in Manager.on.
TaskLoadingEvent<T>
A class that is used to represent a loading state of AsynchronousTasks in Manager.on.
TaskSuccessEvent<T>
A class that is used to represent a success state of AsynchronousTasks or SynchronousTasks in Manager.on.

Enums

TaskProgressStatus
Semantics that are used to represent a progress of Task.

Mixins

CancelableAsyncTaskMixin<T>
A special type of AsynchronousTask that can be canceled/killed.
ObservableManagerMixin<T>
A special interface of Manager that can be observed by ManagerObservers
RecordTaskEventsMixin<T>
A special type of Manager that records events of onEventCallback and allows accessing them through getRecordedEvent

Typedefs

AsyncTaskCompleterReferenceTable<T> = Map<String, AsyncTaskCompleterReference<T>>
CastedValueCallback<T> = void Function(T)
StateMutationCastedCallback<T> = void Function(T oldState, T newState)

Exceptions / Errors

ManagerDisposedException