6 references to ScheduleTask
Microsoft.CodeAnalysis.Workspaces (6)
Notification\AbstractGlobalOperationNotificationService.cs (2)
45
_eventQueue.
ScheduleTask
(nameof(RaiseGlobalOperationStarted), () => this.Started?.Invoke(this, EventArgs.Empty), CancellationToken.None);
52
_eventQueue.
ScheduleTask
(nameof(RaiseGlobalOperationStopped), () => this.Stopped?.Invoke(this, EventArgs.Empty), CancellationToken.None);
Utilities\TaskQueue.cs (3)
54
/// <inheritdoc cref="
ScheduleTask
(string, Action, CancellationToken)"/>
58
/// <inheritdoc cref="
ScheduleTask
(string, Action, CancellationToken)"/>
62
/// <inheritdoc cref="
ScheduleTask
(string, Action, CancellationToken)"/>
Workspace\Workspace.cs (1)
585
=> _taskQueue.
ScheduleTask
(taskName ?? "Workspace.Task", action, CancellationToken.None);