OffThreadTask<>

Summary

A generic task wrapper that explicitly forbids awaiting or blocking on the Master Thread.

Definition

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

struct OffThreadTask<>
Implements:


Fields

Name Type Description

Properties

Name Type Description
public get; Result T

Methods

public Task<T> AsTask()

Returns:


public Void Wait()


public OffThreadAwaiter<T> GetAwaiter()

Returns: