Table of Contents

Struct SyncToMainThreadTask

Namespace
SampSharp.OpenMp.Core
Assembly
SampSharp.OpenMp.Core.dll

Represents a task which, when awaited, will switch the continuation to the main thread.

public readonly struct SyncToMainThreadTask
Inherited Members

Methods

GetAwaiter()

Gets the awaiter for this task.

public MainThreadTaskAwaiter GetAwaiter()

Returns

MainThreadTaskAwaiter

The await for this task.