frebu library

Classes

Action<TResult>
AsyncAction<TArgs, TResult>
AsyncBuilder<TArgs, TResult>
AsyncEffect<TArgs, TResult>
BehaviorResultEmitter<TArgs, TResult>
BehaviorSubjectEmitter<TResult>
CommonResult<TAction extends Action<CommonResult<TAction>>>
Effect<TArgs, TResult>
Emitter<TResult>
Event
EventBus
InvalidArguments<TAction extends Action<CommonResult<TAction>>>
OnDataEffect<TArgs, TResult>
OnExceptionEffect<TArgs, TResult>
PublishResultEmitter<TArgs, TResult>
PublishSubjectEmitter<TResult>
Repository
ResultEmitter<TArgs, TResult, TSubject extends Subject<TResult>>
SubjectEmitter<TResult, TSubject extends Subject<TResult>>
UnexpectedError<TAction extends Action<CommonResult<TAction>>>

Typedefs

AsyncEventHandler<TEvent> = Future<void> Function(TEvent event)
CallFun<TArgs, TResult> = Future<TResult> Function(TArgs args)
DynamicEventHandler<TEvent> = dynamic Function(TEvent event)
EffectFun<TArgs, TResult> = Future<void> Function(TArgs args, TResult result)
EventHandler<TEvent> = void Function(TEvent event)
ExceptionEffectFun<TArgs> = Future<void> Function(TArgs args, dynamic e, [StackTrace t])
ExceptionMapFun<TArgs, TOut> = TOut Function(TArgs args, dynamic e, [StackTrace t])
MapFun<TArgs, TIn, TOut> = TOut Function(TArgs args, TIn data)

Exceptions / Errors

AsyncBuilderNotFound