ActionExecutor<TParam, TResult, TAction extends Action<TParam, TResult>> class abstract

Constructors

ActionExecutor(ActionDescriptor<TAction, TParam, TResult> _descriptor, EventSink _universalStreamSink, dynamic _handleCommonError(ActionError, EventSink)?, Duration _timeout, CacheProvider _cacheProvider)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drain({TParam param, Function? begin, dynamic end(bool success)?, Channel channel(TAction action)?, dynamic handleError(ActionError error, StackTrace? stackTrace)?, Duration? timeout}) → void
echo({required TResult value, Function? begin, dynamic end(bool)?, Channel channel(TAction)?}) → void
go({TParam param, Function? begin, dynamic end(bool)?, Channel channel(TAction)?, CacheStrategy? cacheStrategy, dynamic handleError(ActionError error, StackTrace? stackTrace)?, Duration? timeout}) → void
map({Channel channel(TAction)?}) Stream<TResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when(bool test(), dynamic executor(ActionExecutor<TParam, TResult, TAction>)) ActionExecutor<TParam, TResult, TAction>

Operators

operator ==(Object other) bool
The equality operator.
inherited