OffThreadTask

Summary

A task wrapper that explicitly forbids awaiting or blocking on the Master Thread. Prevents deadlocks where work scheduled on the master thread is awaited by the master thread itself.

Definition

Namespace: SDT4.Managed.Core.Threading
Assembly: SDT4.Managed.Core.dll

struct OffThreadTask
Implements:


Fields

Name Type Description

Properties

Name Type Description

Methods

public Task AsTask()

Returns:


public Void Wait()


public OffThreadAwaiter GetAwaiter()

Returns: