next method
Wait the next change of a RxNotifier.
The timeLimit
is 10 seconds by default.
onAction
callback execute after register listener.
Implementation
@override
Future<T> next(
Function onAction, {
Duration timeLimit = const Duration(seconds: 10),
}) {
return rxNext<T>(
this,
onAction: onAction,
timeLimit: timeLimit,
);
}