single_async_widget library

Classes

SingleAsyncScope<T>
A widget builder that provides a AsyncScopeReference to its child. AsyncScopeReference only allows call when no other asynchronous operation from a previously invoked AsyncScopeReference.call is running.
SingleAsyncWidget<T>

Typedefs

FutureCallback<T> = Future<T> Function()
Signature of callbacks that have no arguments but returns a future.
OnErrorCallback = void Function(Object error, StackTrace stackTrace)
SimpleSingleAsyncScope = SingleAsyncWidget
SingleActionProcessWidgetBuilder<T> = Widget Function(AsyncScopeReference<T> reference, Widget? child)
Builder that doesn't provide a action callback if there's already one being used.