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