CancellationProvider Module
Creates ICancellationProviders, for an environment that doesn't begin cancellation scopes,
such as one in a test. To link a source to a token, use CancellationScope.LinkedTo, which is a provider
too; to cancel after a timeout, Cancellation.timeout.
Functions and values
| Function or value |
Description
|
|
A provider of a new source, linked to no token: a CancellationScope, which is its own source. Dispose it when done with it.
Example
val cancellation: obj
|
Full Usage:
fromSource source
Parameters:
CancellationTokenSource
-
The source to provide.
Returns: ICancellationProvider
|
A provider of source, which every read of
|
Orsak