Table of Contents

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 CancellationToken

Cancellation token for the task to be scheduled.