Delegate TransportTaskScheduler
- Namespace
- PuppeteerSharp.Transport
- Assembly
- PuppeteerSharp.dll
Delegate for scheduling of long-running transport tasks.
public delegate void TransportTaskScheduler(Func<CancellationToken, Task> taskFactory, CancellationToken cancellationToken)
Parameters
taskFactory
Func<CancellationToken, Task>Delegate that creates the task to be scheduled.
cancellationToken
CancellationTokenCancellation token for the task to be scheduled.