Table of Contents

TaskUtils

Utility methods related to System.Threading.Tasks.Task.

Fields
Scheduler

Gets the TaskScheduler from the current synchronization context, if one exists; otherwise, gets the current TaskScheduler.

In Unity platforms, this is the UnitySynchronizationContext.

This should be passed to System.Threading.Tasks.Task.ContinueWith(System.Action<System.Threading.Tasks.Task>, System.Threading.Tasks.TaskScheduler) to have WebGL support.