Options
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 parameters:
- autoCancelableRunLoops
should be set to
truein case you wantflatMapdriven loops to be auto-cancelable. Defaults totrue.- localContextPropagation
should be set to
truein 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.