Options
Set of options for customizing the task's behavior.
Set of options for customizing the task's behavior.
See Task.defaultOptions for the default Options
instance
used by Task.runAsync or Task.runToFuture.
- Value Params
- autoCancelableRunLoops
should be set to
true
in case you wantflatMap
driven loops to be auto-cancelable. Defaults totrue
.- localContextPropagation
should be set to
true
in case you want the Local variables to be propagated on async boundaries. Defaults tofalse
.
Value members
Concrete methods
Creates a new set of options from the source, but with
the autoCancelableRunLoops value set to false
.
Creates a new set of options from the source, but with
the autoCancelableRunLoops value set to false
.
Creates a new set of options from the source, but with
the localContextPropagation value set to false
.
Creates a new set of options from the source, but with
the localContextPropagation value set to false
.
Creates a new set of options from the source, but with
the autoCancelableRunLoops value set to true
.
Creates a new set of options from the source, but with
the autoCancelableRunLoops value set to true
.
Creates a new set of options from the source, but with
the localContextPropagation value set to true
.
Creates a new set of options from the source, but with
the localContextPropagation value set to true
.