+
+
+ Class UnityMainThreadTaskScheduler
+
+
+
+
+
Inheritance
+
+
+
UnityMainThreadTaskScheduler
+
+
+
+
Inherited Members
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Assembly: IPA.Loader.dll
+ Syntax
+
+
public class UnityMainThreadTaskScheduler : TaskScheduler, IDisposable
+
+ Properties
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Default
+
+
+ Declaration
+
+
public static TaskScheduler Default { get; }
+
+ Property Value
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ IsRunning
+
+
+ Declaration
+
+
public bool IsRunning { get; }
+
+ Property Value
+
+
+
+ Type |
+ Description |
+
+
+
+
+ Boolean |
+ |
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ YieldAfterTasks
+
+
+ Declaration
+
+
public int YieldAfterTasks { get; set; }
+
+ Property Value
+
+
+
+ Type |
+ Description |
+
+
+
+
+ Int32 |
+ |
+
+
+
+ Methods
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Coroutine()
+
+
+ Declaration
+
+
public IEnumerator Coroutine()
+
+ Returns
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Dispose()
+
+
+ Declaration
+
+
public void Dispose()
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Dispose(Boolean)
+
+
+ Declaration
+
+
protected virtual void Dispose(bool disposing)
+
+ Parameters
+
+
+
+ Type |
+ Name |
+ Description |
+
+
+
+
+ Boolean |
+ disposing |
+ |
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ GetScheduledTasks()
+
+
+ Declaration
+
+
protected override IEnumerable<Task> GetScheduledTasks()
+
+ Returns
+
+ Overrides
+
+ Exceptions
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ QueueTask(Task)
+
+
+ Declaration
+
+
protected override void QueueTask(Task task)
+
+ Parameters
+
+
+
+ Type |
+ Name |
+ Description |
+
+
+
+
+ Task |
+ task |
+ |
+
+
+
+ Overrides
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ TryExecuteTaskInline(Task, Boolean)
+
+
+ Declaration
+
+
protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
+
+ Parameters
+
+
+
+ Type |
+ Name |
+ Description |
+
+
+
+
+ Task |
+ task |
+ |
+
+
+ Boolean |
+ taskWasPreviouslyQueued |
+ |
+
+
+
+ Returns
+
+
+
+ Type |
+ Description |
+
+
+
+
+ Boolean |
+ |
+
+
+
+ Overrides
+
+ Implements
+
+ Extension Methods
+
+
+
+
+
+