Skip to content

TransportTaskScheduler

Namespace: PuppeteerSharp.Transport

public delegate void TransportTaskScheduler(Func<CancellationToken, Task> taskFactory, CancellationToken cancellationToken)

Delegate for scheduling of long-running transport tasks.

Parameters

Name Type Description
taskFactory Func<CancellationToken, Task> Delegate that creates the task to be scheduled.
cancellationToken CancellationToken Cancellation token for the task to be scheduled.

View source

Made with love by Dario Kondratiuk