SchedulerPostTaskOptions Class
The options of Scheduler.PostTask (https://wicg.github.io/scheduling-apis/#dictdef-schedulerposttaskoptions).
public sealed class SchedulerPostTaskOptionsConstructors
| Name | Description |
|---|---|
| SchedulerPostTaskOptions() |
SchedulerPostTaskOptions()
public SchedulerPostTaskOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Delay | Gets the minimum time, in milliseconds, before the task is queued. |
| Priority | Gets the priority of the task, which then does not change; null for the priority of SchedulerPostTaskOptions.Signal, or TaskPriority.UserVisible. |
| Signal | Gets the signal that aborts the task; when it is a TaskSignal and SchedulerPostTaskOptions.Priority is null, the task also follows the priority of the signal. |
Delay
Scheduler.csGets the minimum time, in milliseconds, before the task is queued.
public ulong Delay { get; init; }Property value
See also
Priority
Scheduler.csGets the priority of the task, which then does not change; null for the priority of SchedulerPostTaskOptions.Signal, or TaskPriority.UserVisible.
public TaskPriority? Priority { get; init; }Signal
Scheduler.csGets the signal that aborts the task; when it is a TaskSignal and SchedulerPostTaskOptions.Priority is null, the task also follows the priority of the signal.
public AbortSignal? Signal { get; init; }