Attributes
- Companion
- object
- Source
- Store.scala
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
See withCancellationKey
.
Adds action
to the queue of actions to be evaluated.
See withRunningState
.
Holds the current application state.
Wraps fu
and makes it cancelable using cancel(key)
.
Wraps fu
and makes it cancelable using cancel(key)
. Repeated evaluation of the returned effect will cancel previous evaluations. The returned effect runs exactly as long as fu
. In particular, withRunningState(...)(withCancellationKey(...)(fu))
has the same semantics as withCancellationKey(...)(withRunningState(...)(fu))
.
WARNING: Nested wrapping using the same key more than once results in undefined behavior of the returned effect (fu
may or may not run, and a fiber might deadlock).
Attributes
- Source
- Store.scala
Ensures that runningState(key)
evaluates to true
while fu
is running.
Ensures that runningState(key)
evaluates to true
while fu
is running. Useful for things like loading indicators.
Attributes
- Source
- Store.scala