Interface AsyncGeneratorFlow.IsCancellableEx
- All Superinterfaces:
AsyncGenerator.IsCancellable
- All Known Subinterfaces:
AsyncGeneratorFlow.Dispatcher<E>
- All Known Implementing Classes:
AsyncGeneratorFlow.Generator
- Enclosing interface:
AsyncGeneratorFlow
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Field Summary
Fields inherited from interface AsyncGenerator.IsCancellable
CANCELLED -
Method Summary
Modifier and TypeMethodDescriptionCalls the listener right away if already cancelled.Methods inherited from interface AsyncGenerator.IsCancellable
cancel, isCancelled
-
Method Details
-
onCancel
AsyncGeneratorFlow.IsCancellableEx.Registration onCancel(AsyncGeneratorFlow.IsCancellableEx.Listener listener) Calls the listener right away if already cancelled.
-