Class IOConnection.Uncancellable
java.lang.Object
com.github.tonivade.purefun.monad.IOConnection.Uncancellable
- All Implemented Interfaces:
IOConnection
- Enclosing interface:
IOConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.tonivade.purefun.monad.IOConnection
IOConnection.Cancellable, IOConnection.Uncancellable -
Field Summary
Fields inherited from interface com.github.tonivade.purefun.monad.IOConnection
UNCANCELLABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidbooleanvoidsetCancelToken(Kind<IO<?>, Unit> cancel) updateState(Operator1<StateIO> update)
-
Constructor Details
-
Uncancellable
private Uncancellable()
-
-
Method Details
-
isCancellable
public boolean isCancellable()- Specified by:
isCancellablein interfaceIOConnection
-
setCancelToken
- Specified by:
setCancelTokenin interfaceIOConnection
-
cancelNow
public void cancelNow()- Specified by:
cancelNowin interfaceIOConnection
-
cancel
public void cancel()- Specified by:
cancelin interfaceIOConnection
-
updateState
- Specified by:
updateStatein interfaceIOConnection
-