diff --git a/.docfx/api/.manifest b/.docfx/api/.manifest index 000a367..9a671d6 100644 --- a/.docfx/api/.manifest +++ b/.docfx/api/.manifest @@ -15,45 +15,45 @@ "ComponentTask.IExceptionHandler": "ComponentTask.IExceptionHandler.yml", "ComponentTask.IExceptionHandler.Handle(System.Exception)": "ComponentTask.IExceptionHandler.yml", "ComponentTask.ITaskRunner": "ComponentTask.ITaskRunner.yml", - "ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task})": "ComponentTask.ITaskRunner.yml", + "ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task})": "ComponentTask.ITaskRunner.yml", "ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.Tasks.Task})": "ComponentTask.ITaskRunner.yml", - "ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0)": "ComponentTask.ITaskRunner.yml", + "ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0)": "ComponentTask.ITaskRunner.yml", "ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0)": "ComponentTask.ITaskRunner.yml", - "ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}})": "ComponentTask.ITaskRunner.yml", + "ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}})": "ComponentTask.ITaskRunner.yml", "ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}})": "ComponentTask.ITaskRunner.yml", - "ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0)": "ComponentTask.ITaskRunner.yml", + "ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0)": "ComponentTask.ITaskRunner.yml", "ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0)": "ComponentTask.ITaskRunner.yml", "ComponentTask.LocalTaskRunner": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.#ctor(ComponentTask.IExceptionHandler)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.AssertRunningTaskCount(System.Int32)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.Dispose": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.Execute": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task})": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task})": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.Tasks.Task})": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0)": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0)": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}})": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}})": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}})": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0)": "ComponentTask.LocalTaskRunner.yml", - "ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0)": "ComponentTask.LocalTaskRunner.yml", + "ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0)": "ComponentTask.LocalTaskRunner.yml", "ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger)": "ComponentTask.LocalTaskRunner.yml", "UnityEngine": "UnityEngine.yml", "UnityEngine.ComponentExtensions": "UnityEngine.ComponentExtensions.yml", "UnityEngine.ComponentExtensions.GetTaskRunner(Component,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", - "UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", + "UnityEngine.ComponentExtensions.StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", "UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.Tasks.Task},UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", - "UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", + "UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", "UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", - "UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", + "UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", "UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", - "UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", + "UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", "UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions)": "UnityEngine.ComponentExtensions.yml", "UnityEngine.GameObjectExtensions": "UnityEngine.GameObjectExtensions.yml", "UnityEngine.GameObjectExtensions.CreateTaskRunner(GameObject,UnityEngine.TaskRunOptions)": "UnityEngine.GameObjectExtensions.yml", diff --git a/.docfx/api/ComponentTask.Config.yml b/.docfx/api/ComponentTask.Config.yml index 99e69f6..a7a2c71 100644 --- a/.docfx/api/ComponentTask.Config.yml +++ b/.docfx/api/ComponentTask.Config.yml @@ -16,7 +16,7 @@ items: source: id: Config path: '' - startLine: 616 + startLine: 634 assemblies: - cs.temp.dll namespace: ComponentTask @@ -56,7 +56,7 @@ items: source: id: GlobalDiagnosticsActive path: '' - startLine: 625 + startLine: 643 assemblies: - cs.temp.dll namespace: ComponentTask diff --git a/.docfx/api/ComponentTask.Exceptions.ComponentTaskCanceledException.yml b/.docfx/api/ComponentTask.Exceptions.ComponentTaskCanceledException.yml index b6f3c11..23c37ff 100644 --- a/.docfx/api/ComponentTask.Exceptions.ComponentTaskCanceledException.yml +++ b/.docfx/api/ComponentTask.Exceptions.ComponentTaskCanceledException.yml @@ -15,7 +15,7 @@ items: source: id: ComponentTaskCanceledException path: '' - startLine: 1229 + startLine: 2168 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.ContextChangedException.yml b/.docfx/api/ComponentTask.Exceptions.ContextChangedException.yml index d591ee9..659dbaa 100644 --- a/.docfx/api/ComponentTask.Exceptions.ContextChangedException.yml +++ b/.docfx/api/ComponentTask.Exceptions.ContextChangedException.yml @@ -15,7 +15,7 @@ items: source: id: ContextChangedException path: '' - startLine: 1247 + startLine: 2151 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.InactiveComponentException.yml b/.docfx/api/ComponentTask.Exceptions.InactiveComponentException.yml index bb4c1cf..4750fbf 100644 --- a/.docfx/api/ComponentTask.Exceptions.InactiveComponentException.yml +++ b/.docfx/api/ComponentTask.Exceptions.InactiveComponentException.yml @@ -15,7 +15,7 @@ items: source: id: InactiveComponentException path: '' - startLine: 1263 + startLine: 2067 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.InactiveGameObjectException.yml b/.docfx/api/ComponentTask.Exceptions.InactiveGameObjectException.yml index 0189ec0..1ffcef3 100644 --- a/.docfx/api/ComponentTask.Exceptions.InactiveGameObjectException.yml +++ b/.docfx/api/ComponentTask.Exceptions.InactiveGameObjectException.yml @@ -15,7 +15,7 @@ items: source: id: InactiveGameObjectException path: '' - startLine: 1279 + startLine: 2100 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.NonUnityThreadException.yml b/.docfx/api/ComponentTask.Exceptions.NonUnityThreadException.yml index 7ad2260..ed804b2 100644 --- a/.docfx/api/ComponentTask.Exceptions.NonUnityThreadException.yml +++ b/.docfx/api/ComponentTask.Exceptions.NonUnityThreadException.yml @@ -15,7 +15,7 @@ items: source: id: NonUnityThreadException path: '' - startLine: 1296 + startLine: 2117 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.NotPlayingException.yml b/.docfx/api/ComponentTask.Exceptions.NotPlayingException.yml index 0dec8ae..dfe4159 100644 --- a/.docfx/api/ComponentTask.Exceptions.NotPlayingException.yml +++ b/.docfx/api/ComponentTask.Exceptions.NotPlayingException.yml @@ -15,7 +15,7 @@ items: source: id: NotPlayingException path: '' - startLine: 1313 + startLine: 2084 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.yml b/.docfx/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.yml index cb2bcfd..9d18af0 100644 --- a/.docfx/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.yml +++ b/.docfx/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.yml @@ -15,7 +15,7 @@ items: source: id: TaskCreatorReturnedNullException path: '' - startLine: 1329 + startLine: 2133 assemblies: - cs.temp.dll namespace: ComponentTask.Exceptions diff --git a/.docfx/api/ComponentTask.Exceptions.yml b/.docfx/api/ComponentTask.Exceptions.yml index 129e2f2..cf67717 100644 --- a/.docfx/api/ComponentTask.Exceptions.yml +++ b/.docfx/api/ComponentTask.Exceptions.yml @@ -21,21 +21,16 @@ items: assemblies: - cs.temp.dll references: -- uid: ComponentTask.Exceptions.ComponentTaskCanceledException - commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException - name: ComponentTaskCanceledException - nameWithType: ComponentTaskCanceledException - fullName: ComponentTask.Exceptions.ComponentTaskCanceledException -- uid: ComponentTask.Exceptions.ContextChangedException - commentId: T:ComponentTask.Exceptions.ContextChangedException - name: ContextChangedException - nameWithType: ContextChangedException - fullName: ComponentTask.Exceptions.ContextChangedException - uid: ComponentTask.Exceptions.InactiveComponentException commentId: T:ComponentTask.Exceptions.InactiveComponentException name: InactiveComponentException nameWithType: InactiveComponentException fullName: ComponentTask.Exceptions.InactiveComponentException +- uid: ComponentTask.Exceptions.NotPlayingException + commentId: T:ComponentTask.Exceptions.NotPlayingException + name: NotPlayingException + nameWithType: NotPlayingException + fullName: ComponentTask.Exceptions.NotPlayingException - uid: ComponentTask.Exceptions.InactiveGameObjectException commentId: T:ComponentTask.Exceptions.InactiveGameObjectException name: InactiveGameObjectException @@ -46,13 +41,18 @@ references: name: NonUnityThreadException nameWithType: NonUnityThreadException fullName: ComponentTask.Exceptions.NonUnityThreadException -- uid: ComponentTask.Exceptions.NotPlayingException - commentId: T:ComponentTask.Exceptions.NotPlayingException - name: NotPlayingException - nameWithType: NotPlayingException - fullName: ComponentTask.Exceptions.NotPlayingException - uid: ComponentTask.Exceptions.TaskCreatorReturnedNullException commentId: T:ComponentTask.Exceptions.TaskCreatorReturnedNullException name: TaskCreatorReturnedNullException nameWithType: TaskCreatorReturnedNullException fullName: ComponentTask.Exceptions.TaskCreatorReturnedNullException +- uid: ComponentTask.Exceptions.ContextChangedException + commentId: T:ComponentTask.Exceptions.ContextChangedException + name: ContextChangedException + nameWithType: ContextChangedException + fullName: ComponentTask.Exceptions.ContextChangedException +- uid: ComponentTask.Exceptions.ComponentTaskCanceledException + commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException + name: ComponentTaskCanceledException + nameWithType: ComponentTaskCanceledException + fullName: ComponentTask.Exceptions.ComponentTaskCanceledException diff --git a/.docfx/api/ComponentTask.IDiagnosticLogger.yml b/.docfx/api/ComponentTask.IDiagnosticLogger.yml index e2d936c..60f36a8 100644 --- a/.docfx/api/ComponentTask.IDiagnosticLogger.yml +++ b/.docfx/api/ComponentTask.IDiagnosticLogger.yml @@ -16,7 +16,7 @@ items: source: id: IDiagnosticLogger path: '' - startLine: 650 + startLine: 617 assemblies: - cs.temp.dll namespace: ComponentTask @@ -46,7 +46,7 @@ items: source: id: Log path: '' - startLine: 656 + startLine: 623 assemblies: - cs.temp.dll namespace: ComponentTask diff --git a/.docfx/api/ComponentTask.IExceptionHandler.yml b/.docfx/api/ComponentTask.IExceptionHandler.yml index c778fc3..302bdb3 100644 --- a/.docfx/api/ComponentTask.IExceptionHandler.yml +++ b/.docfx/api/ComponentTask.IExceptionHandler.yml @@ -16,7 +16,7 @@ items: source: id: IExceptionHandler path: '' - startLine: 670 + startLine: 1211 assemblies: - cs.temp.dll namespace: ComponentTask @@ -46,7 +46,7 @@ items: source: id: Handle path: '' - startLine: 676 + startLine: 1217 assemblies: - cs.temp.dll namespace: ComponentTask diff --git a/.docfx/api/ComponentTask.ITaskRunner.yml b/.docfx/api/ComponentTask.ITaskRunner.yml index 773e335..a38559b 100644 --- a/.docfx/api/ComponentTask.ITaskRunner.yml +++ b/.docfx/api/ComponentTask.ITaskRunner.yml @@ -5,13 +5,13 @@ items: id: ITaskRunner parent: ComponentTask children: - - ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) + - ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) - ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.Tasks.Task}) - - ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + - ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) - ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) - - ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + - ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) - ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) - - ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + - ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) - ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) langs: - csharp @@ -23,7 +23,7 @@ items: source: id: ITaskRunner path: '' - startLine: 689 + startLine: 669 assemblies: - cs.temp.dll namespace: ComponentTask @@ -52,7 +52,7 @@ items: source: id: StartTask path: '' - startLine: 704 + startLine: 684 assemblies: - cs.temp.dll namespace: ComponentTask @@ -79,31 +79,31 @@ items: nameWithType.vb: ITaskRunner.StartTask(Func(Of Task)) fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of System.Threading.Tasks.Task)) name.vb: StartTask(Func(Of Task)) -- uid: ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) - commentId: M:ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) - id: StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) +- uid: ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) + commentId: M:ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) + id: StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) parent: ComponentTask.ITaskRunner langs: - csharp - vb name: StartTask(Func) nameWithType: ITaskRunner.StartTask(Func) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func) type: Method source: id: StartTask path: '' - startLine: 722 + startLine: 702 assemblies: - cs.temp.dll namespace: ComponentTask - summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" example: [] syntax: content: Task StartTask(Func taskCreator) parameters: - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{CancellationToken,System.Threading.Tasks.Task} description: Function for creating the task. return: type: System.Threading.Tasks.Task @@ -118,7 +118,7 @@ items: commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException description: "\nThrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting\na component that gets destroyed.\n" nameWithType.vb: ITaskRunner.StartTask(Func(Of CancellationToken, Task)) - fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task)) + fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task)) name.vb: StartTask(Func(Of CancellationToken, Task)) - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) @@ -134,7 +134,7 @@ items: source: id: StartTask path: '' - startLine: 739 + startLine: 719 assemblies: - cs.temp.dll namespace: ComponentTask @@ -167,31 +167,31 @@ items: nameWithType.vb: ITaskRunner.StartTask(Of TIn)(Func(Of TIn, Task), TIn) fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.Tasks.Task), TIn) name.vb: StartTask(Of TIn)(Func(Of TIn, Task), TIn) -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) - id: StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) + id: StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) parent: ComponentTask.ITaskRunner langs: - csharp - vb name: StartTask(Func, TIn) nameWithType: ITaskRunner.StartTask(Func, TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) type: Method source: id: StartTask path: '' - startLine: 759 + startLine: 739 assemblies: - cs.temp.dll namespace: ComponentTask - summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" example: [] syntax: content: Task StartTask(Func taskCreator, TIn data) parameters: - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} description: Function for creating the task. - id: data type: '{TIn}' @@ -212,7 +212,7 @@ items: commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException description: "\nThrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting\na component that gets destroyed.\n" nameWithType.vb: ITaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) @@ -228,7 +228,7 @@ items: source: id: StartTask path: '' - startLine: 774 + startLine: 754 assemblies: - cs.temp.dll namespace: ComponentTask @@ -257,31 +257,31 @@ items: nameWithType.vb: ITaskRunner.StartTask(Of TOut)(Func(Of Task(Of TOut))) fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.Tasks.Task(Of TOut))) name.vb: StartTask(Of TOut)(Func(Of Task(Of TOut))) -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) - id: StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) + id: StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) parent: ComponentTask.ITaskRunner langs: - csharp - vb name: StartTask(Func>) nameWithType: ITaskRunner.StartTask(Func>) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) type: Method source: id: StartTask path: '' - startLine: 792 + startLine: 772 assemblies: - cs.temp.dll namespace: ComponentTask - summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" example: [] syntax: content: Task StartTask(Func> taskCreator) parameters: - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} description: Function for creating the task. typeParameters: - id: TOut @@ -298,7 +298,7 @@ items: commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException description: "\nThrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting\na component that gets destroyed.\n" nameWithType.vb: ITaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut))) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut))) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) @@ -314,7 +314,7 @@ items: source: id: StartTask path: '' - startLine: 809 + startLine: 789 assemblies: - cs.temp.dll namespace: ComponentTask @@ -348,31 +348,31 @@ items: nameWithType.vb: ITaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, Task(Of TOut)), TIn) fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.Tasks.Task(Of TOut)), TIn) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, Task(Of TOut)), TIn) -- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) - commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) - id: StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) +- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) + commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) + id: StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) parent: ComponentTask.ITaskRunner langs: - csharp - vb name: StartTask(Func>, TIn) nameWithType: ITaskRunner.StartTask(Func>, TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) type: Method source: id: StartTask path: '' - startLine: 827 + startLine: 807 assemblies: - cs.temp.dll namespace: ComponentTask - summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" example: [] syntax: content: Task StartTask(Func> taskCreator, TIn data) parameters: - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} description: Function for creating the task. - id: data type: '{TIn}' @@ -392,7 +392,7 @@ items: commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException description: "\nThrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting\na component that gets destroyed.\n" nameWithType.vb: ITaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) references: - uid: ComponentTask @@ -517,18 +517,15 @@ references: name: System.Threading.Tasks nameWithType: System.Threading.Tasks fullName: System.Threading.Tasks -- uid: System.Threading.CancellationToken - commentId: T:System.Threading.CancellationToken - isExternal: true -- uid: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} - commentId: T:System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} +- uid: System.Func{CancellationToken,System.Threading.Tasks.Task} + commentId: T:System.Func{CancellationToken,System.Threading.Tasks.Task} parent: System definition: System.Func`2 name: Func nameWithType: Func - fullName: System.Func + fullName: System.Func nameWithType.vb: Func(Of CancellationToken, Task) - fullName.vb: System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task) + fullName.vb: System.Func(Of CancellationToken, System.Threading.Tasks.Task) name.vb: Func(Of CancellationToken, Task) spec.csharp: - uid: System.Func`2 @@ -539,10 +536,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -564,10 +561,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -697,15 +694,15 @@ references: name: TIn nameWithType: TIn fullName: TIn -- uid: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} - commentId: T:System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task} +- uid: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} + commentId: T:System.Func{``0,CancellationToken,System.Threading.Tasks.Task} parent: System definition: System.Func`3 name: Func nameWithType: Func - fullName: System.Func + fullName: System.Func nameWithType.vb: Func(Of TIn, CancellationToken, Task) - fullName.vb: System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task) + fullName.vb: System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task) name.vb: Func(Of TIn, CancellationToken, Task) spec.csharp: - uid: System.Func`3 @@ -722,10 +719,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -753,10 +750,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -973,15 +970,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} - commentId: T:System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}} +- uid: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} + commentId: T:System.Func{CancellationToken,System.Threading.Tasks.Task{``0}} parent: System definition: System.Func`2 name: Func> nameWithType: Func> - fullName: System.Func> + fullName: System.Func> nameWithType.vb: Func(Of CancellationToken, Task(Of TOut)) - fullName.vb: System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)) + fullName.vb: System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)) name.vb: Func(Of CancellationToken, Task(Of TOut)) spec.csharp: - uid: System.Func`2 @@ -992,10 +989,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1026,10 +1023,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1125,15 +1122,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} - commentId: T:System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}} +- uid: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} + commentId: T:System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}} parent: System definition: System.Func`3 name: Func> nameWithType: Func> - fullName: System.Func> + fullName: System.Func> nameWithType.vb: Func(Of TIn, CancellationToken, Task(Of TOut)) - fullName.vb: System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)) + fullName.vb: System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)) name.vb: Func(Of TIn, CancellationToken, Task(Of TOut)) spec.csharp: - uid: System.Func`3 @@ -1150,10 +1147,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1190,10 +1187,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' diff --git a/.docfx/api/ComponentTask.LocalTaskRunner.yml b/.docfx/api/ComponentTask.LocalTaskRunner.yml index f847899..6b1b487 100644 --- a/.docfx/api/ComponentTask.LocalTaskRunner.yml +++ b/.docfx/api/ComponentTask.LocalTaskRunner.yml @@ -9,20 +9,20 @@ items: - ComponentTask.LocalTaskRunner.AssertRunningTaskCount(System.Int32) - ComponentTask.LocalTaskRunner.Dispose - ComponentTask.LocalTaskRunner.Execute - - ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) - - ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) + - ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) + - ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) - ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.Tasks.Task}) - ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) - - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) - - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) + - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) + - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) - - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) - - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) + - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) + - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) - ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) - - ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) - - ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) + - ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) + - ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) - ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) - ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) langs: @@ -35,7 +35,7 @@ items: source: id: LocalTaskRunner path: '' - startLine: 844 + startLine: 824 assemblies: - cs.temp.dll namespace: ComponentTask @@ -81,7 +81,7 @@ items: source: id: .ctor path: '' - startLine: 859 + startLine: 839 assemblies: - cs.temp.dll namespace: ComponentTask @@ -113,7 +113,7 @@ items: source: id: AssertRunningTaskCount path: '' - startLine: 867 + startLine: 847 assemblies: - cs.temp.dll namespace: ComponentTask @@ -144,7 +144,7 @@ items: source: id: StartTask path: '' - startLine: 880 + startLine: 860 assemblies: - cs.temp.dll namespace: ComponentTask @@ -191,7 +191,7 @@ items: source: id: StartTask path: '' - startLine: 885 + startLine: 865 assemblies: - cs.temp.dll namespace: ComponentTask @@ -215,31 +215,31 @@ items: - Public fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of System.Threading.Tasks.Task), ComponentTask.IDiagnosticLogger) name.vb: StartTask(Func(Of Task), IDiagnosticLogger) -- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) - commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) - id: StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) +- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) + commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) + id: StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func) nameWithType: LocalTaskRunner.StartTask(Func) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func) type: Method source: id: StartTask path: '' - startLine: 904 + startLine: 884 assemblies: - cs.temp.dll namespace: ComponentTask - summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task on this runner.\n that is passed to the task-creator is cancelled when the\nrunner is disposed, this can be usefull for cancelling external processes.\n" example: [] syntax: content: public Task StartTask(Func taskCreator) parameters: - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{CancellationToken,System.Threading.Tasks.Task} description: Function for creating the task. return: type: System.Threading.Tasks.Task @@ -254,29 +254,29 @@ items: commentId: T:ComponentTask.Exceptions.ComponentTaskCanceledException description: "\nThrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting\na component that gets destroyed.\n" implements: - - ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) + - ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) nameWithType.vb: LocalTaskRunner.StartTask(Func(Of CancellationToken, Task)) modifiers.csharp: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task)) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task)) name.vb: StartTask(Func(Of CancellationToken, Task)) -- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) - commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) - id: StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) + commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) + id: StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func, IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func, IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, ComponentTask.IDiagnosticLogger) type: Method source: id: StartTask path: '' - startLine: 909 + startLine: 889 assemblies: - cs.temp.dll namespace: ComponentTask @@ -285,7 +285,7 @@ items: content: public Task StartTask(Func taskCreator, IDiagnosticLogger logger) parameters: - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{CancellationToken,System.Threading.Tasks.Task} - id: logger type: ComponentTask.IDiagnosticLogger description: Optional logger to output diagnostic messages to. @@ -298,7 +298,7 @@ items: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task), ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task), ComponentTask.IDiagnosticLogger) name.vb: StartTask(Func(Of CancellationToken, Task), IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) @@ -314,7 +314,7 @@ items: source: id: StartTask path: '' - startLine: 928 + startLine: 908 assemblies: - cs.temp.dll namespace: ComponentTask @@ -355,7 +355,7 @@ items: source: id: StartTask path: '' - startLine: 933 + startLine: 913 assemblies: - cs.temp.dll namespace: ComponentTask @@ -383,21 +383,21 @@ items: - Public fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.Tasks.Task), TIn, ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TIn)(Func(Of TIn, Task), TIn, IDiagnosticLogger) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) - id: StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) + id: StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func, TIn) nameWithType: LocalTaskRunner.StartTask(Func, TIn) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn) type: Method source: id: StartTask path: '' - startLine: 953 + startLine: 933 assemblies: - cs.temp.dll namespace: ComponentTask @@ -406,7 +406,7 @@ items: content: public Task StartTask(Func taskCreator, TIn data) parameters: - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} - id: data type: '{TIn}' typeParameters: @@ -416,29 +416,29 @@ items: content.vb: Public Function StartTask(Of TIn)(taskCreator As Func(Of TIn, CancellationToken, Task), data As TIn) As Task overload: ComponentTask.LocalTaskRunner.StartTask* implements: - - ComponentTask.ITaskRunner.StartTask``1(System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task},{TIn}) + - ComponentTask.ITaskRunner.StartTask``1(System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task},{TIn}) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) modifiers.csharp: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) - id: StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) + id: StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func, TIn, IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func, TIn, IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn, ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn, ComponentTask.IDiagnosticLogger) type: Method source: id: StartTask path: '' - startLine: 958 + startLine: 938 assemblies: - cs.temp.dll namespace: ComponentTask @@ -447,7 +447,7 @@ items: content: public Task StartTask(Func taskCreator, TIn data, IDiagnosticLogger logger) parameters: - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} - id: data type: '{TIn}' - id: logger @@ -464,7 +464,7 @@ items: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn, ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn, ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn, IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) @@ -480,7 +480,7 @@ items: source: id: StartTask path: '' - startLine: 978 + startLine: 958 assemblies: - cs.temp.dll namespace: ComponentTask @@ -519,7 +519,7 @@ items: source: id: StartTask path: '' - startLine: 983 + startLine: 963 assemblies: - cs.temp.dll namespace: ComponentTask @@ -545,21 +545,21 @@ items: - Public fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.Tasks.Task(Of TOut)), ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TOut)(Func(Of Task(Of TOut)), IDiagnosticLogger) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) - id: StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) + id: StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func>) nameWithType: LocalTaskRunner.StartTask(Func>) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>) type: Method source: id: StartTask path: '' - startLine: 1002 + startLine: 982 assemblies: - cs.temp.dll namespace: ComponentTask @@ -568,7 +568,7 @@ items: content: public Task StartTask(Func> taskCreator) parameters: - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} typeParameters: - id: TOut return: @@ -576,29 +576,29 @@ items: content.vb: Public Function StartTask(Of TOut)(taskCreator As Func(Of CancellationToken, Task(Of TOut))) As Task(Of TOut) overload: ComponentTask.LocalTaskRunner.StartTask* implements: - - ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}}) + - ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}}) nameWithType.vb: LocalTaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) modifiers.csharp: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut))) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut))) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) - id: StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) + id: StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func>, IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func>, IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, ComponentTask.IDiagnosticLogger) type: Method source: id: StartTask path: '' - startLine: 1007 + startLine: 987 assemblies: - cs.temp.dll namespace: ComponentTask @@ -607,7 +607,7 @@ items: content: public Task StartTask(Func> taskCreator, IDiagnosticLogger logger) parameters: - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} - id: logger type: ComponentTask.IDiagnosticLogger description: Optional logger to output diagnostic messages to. @@ -622,7 +622,7 @@ items: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)), ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut)), IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) @@ -638,7 +638,7 @@ items: source: id: StartTask path: '' - startLine: 1026 + startLine: 1006 assemblies: - cs.temp.dll namespace: ComponentTask @@ -680,7 +680,7 @@ items: source: id: StartTask path: '' - startLine: 1031 + startLine: 1011 assemblies: - cs.temp.dll namespace: ComponentTask @@ -709,21 +709,21 @@ items: - Public fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.Tasks.Task(Of TOut)), TIn, ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, Task(Of TOut)), TIn, IDiagnosticLogger) -- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) - commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) - id: StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) +- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) + commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) + id: StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func>, TIn) nameWithType: LocalTaskRunner.StartTask(Func>, TIn) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn) type: Method source: id: StartTask path: '' - startLine: 1051 + startLine: 1031 assemblies: - cs.temp.dll namespace: ComponentTask @@ -732,7 +732,7 @@ items: content: public Task StartTask(Func> taskCreator, TIn data) parameters: - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} - id: data type: '{TIn}' typeParameters: @@ -743,29 +743,29 @@ items: content.vb: Public Function StartTask(Of TIn, TOut)(taskCreator As Func(Of TIn, CancellationToken, Task(Of TOut)), data As TIn) As Task(Of TOut) overload: ComponentTask.LocalTaskRunner.StartTask* implements: - - ComponentTask.ITaskRunner.StartTask``2(System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}},{TIn}) + - ComponentTask.ITaskRunner.StartTask``2(System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}},{TIn}) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) modifiers.csharp: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) -- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) - commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) - id: StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) + commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) + id: StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) parent: ComponentTask.LocalTaskRunner langs: - csharp - vb name: StartTask(Func>, TIn, IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func>, TIn, IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn, ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn, ComponentTask.IDiagnosticLogger) type: Method source: id: StartTask path: '' - startLine: 1056 + startLine: 1036 assemblies: - cs.temp.dll namespace: ComponentTask @@ -774,7 +774,7 @@ items: content: public Task StartTask(Func> taskCreator, TIn data, IDiagnosticLogger logger) parameters: - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} - id: data type: '{TIn}' - id: logger @@ -792,7 +792,7 @@ items: - public modifiers.vb: - Public - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn, IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.Execute commentId: M:ComponentTask.LocalTaskRunner.Execute @@ -808,7 +808,7 @@ items: source: id: Execute path: '' - startLine: 1078 + startLine: 1058 assemblies: - cs.temp.dll namespace: ComponentTask @@ -836,7 +836,7 @@ items: source: id: Dispose path: '' - startLine: 1106 + startLine: 1086 assemblies: - cs.temp.dll namespace: ComponentTask @@ -1371,18 +1371,18 @@ references: name: IDiagnosticLogger nameWithType: IDiagnosticLogger fullName: ComponentTask.IDiagnosticLogger -- uid: ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) - commentId: M:ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) +- uid: ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) + commentId: M:ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) parent: ComponentTask.ITaskRunner isExternal: true name: StartTask(Func) nameWithType: ITaskRunner.StartTask(Func) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func) nameWithType.vb: ITaskRunner.StartTask(Func(Of CancellationToken, Task)) - fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task)) + fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task)) name.vb: StartTask(Func(Of CancellationToken, Task)) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) + - uid: ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -1397,10 +1397,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1417,7 +1417,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) + - uid: ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -1432,10 +1432,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1451,15 +1451,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} - commentId: T:System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} +- uid: System.Func{CancellationToken,System.Threading.Tasks.Task} + commentId: T:System.Func{CancellationToken,System.Threading.Tasks.Task} parent: System definition: System.Func`2 name: Func nameWithType: Func - fullName: System.Func + fullName: System.Func nameWithType.vb: Func(Of CancellationToken, Task) - fullName.vb: System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task) + fullName.vb: System.Func(Of CancellationToken, System.Threading.Tasks.Task) name.vb: Func(Of CancellationToken, Task) spec.csharp: - uid: System.Func`2 @@ -1470,10 +1470,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1495,10 +1495,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1803,18 +1803,18 @@ references: name: TIn nameWithType: TIn fullName: TIn -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task},{TIn}) - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task},{TIn}) + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) parent: ComponentTask.ITaskRunner - definition: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + definition: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask(Func, TIn) nameWithType: ITaskRunner.StartTask(Func, TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -1835,10 +1835,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1861,7 +1861,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask(Of TIn) nameWithType: ITaskRunner.StartTask(Of TIn) fullName: ComponentTask.ITaskRunner.StartTask(Of TIn) @@ -1882,10 +1882,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1907,15 +1907,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} - commentId: T:System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task} +- uid: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} + commentId: T:System.Func{``0,CancellationToken,System.Threading.Tasks.Task} parent: System definition: System.Func`3 name: Func nameWithType: Func - fullName: System.Func + fullName: System.Func nameWithType.vb: Func(Of TIn, CancellationToken, Task) - fullName.vb: System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task) + fullName.vb: System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task) name.vb: Func(Of TIn, CancellationToken, Task) spec.csharp: - uid: System.Func`3 @@ -1932,10 +1932,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1963,10 +1963,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1979,17 +1979,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) isExternal: true name: StartTask(Func, TIn) nameWithType: ITaskRunner.StartTask(Func, TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -2010,10 +2010,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2036,7 +2036,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask(Of TIn) nameWithType: ITaskRunner.StartTask(Of TIn) fullName: ComponentTask.ITaskRunner.StartTask(Of TIn) @@ -2057,10 +2057,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2449,18 +2449,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}}) - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}}) + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) parent: ComponentTask.ITaskRunner - definition: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + definition: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask(Func>) nameWithType: ITaskRunner.StartTask(Func>) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) nameWithType.vb: ITaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut))) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut))) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -2475,10 +2475,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2504,7 +2504,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask(Of TOut) nameWithType: ITaskRunner.StartTask(Of TOut) fullName: ComponentTask.ITaskRunner.StartTask(Of TOut) @@ -2519,10 +2519,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2547,15 +2547,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} - commentId: T:System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}} +- uid: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} + commentId: T:System.Func{CancellationToken,System.Threading.Tasks.Task{``0}} parent: System definition: System.Func`2 name: Func> nameWithType: Func> - fullName: System.Func> + fullName: System.Func> nameWithType.vb: Func(Of CancellationToken, Task(Of TOut)) - fullName.vb: System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)) + fullName.vb: System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)) name.vb: Func(Of CancellationToken, Task(Of TOut)) spec.csharp: - uid: System.Func`2 @@ -2566,10 +2566,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2600,10 +2600,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2625,17 +2625,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) isExternal: true name: StartTask(Func>) nameWithType: ITaskRunner.StartTask(Func>) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) nameWithType.vb: ITaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut))) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut))) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -2650,10 +2650,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -2679,7 +2679,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask(Of TOut) nameWithType: ITaskRunner.StartTask(Of TOut) fullName: ComponentTask.ITaskRunner.StartTask(Of TOut) @@ -2694,10 +2694,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -3007,18 +3007,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}},{TIn}) - commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) +- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}},{TIn}) + commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) parent: ComponentTask.ITaskRunner - definition: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + definition: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask(Func>, TIn) nameWithType: ITaskRunner.StartTask(Func>, TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -3039,10 +3039,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -3074,7 +3074,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask(Of TIn, TOut) nameWithType: ITaskRunner.StartTask(Of TIn, TOut) fullName: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut) @@ -3095,10 +3095,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -3129,15 +3129,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} - commentId: T:System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}} +- uid: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} + commentId: T:System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}} parent: System definition: System.Func`3 name: Func> nameWithType: Func> - fullName: System.Func> + fullName: System.Func> nameWithType.vb: Func(Of TIn, CancellationToken, Task(Of TOut)) - fullName.vb: System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)) + fullName.vb: System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)) name.vb: Func(Of TIn, CancellationToken, Task(Of TOut)) spec.csharp: - uid: System.Func`3 @@ -3154,10 +3154,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -3194,10 +3194,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -3219,17 +3219,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) - commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) +- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) + commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) isExternal: true name: StartTask(Func>, TIn) nameWithType: ITaskRunner.StartTask(Func>, TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) spec.csharp: - - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask nameWithType: ITaskRunner.StartTask fullName: ComponentTask.ITaskRunner.StartTask @@ -3250,10 +3250,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -3285,7 +3285,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask(Of TIn, TOut) nameWithType: ITaskRunner.StartTask(Of TIn, TOut) fullName: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut) @@ -3306,10 +3306,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' diff --git a/.docfx/api/ComponentTask.yml b/.docfx/api/ComponentTask.yml index 0fb7432..0b33c23 100644 --- a/.docfx/api/ComponentTask.yml +++ b/.docfx/api/ComponentTask.yml @@ -19,23 +19,17 @@ items: assemblies: - cs.temp.dll references: -- uid: ComponentTask.Config - commentId: T:ComponentTask.Config - name: Config - nameWithType: Config - fullName: ComponentTask.Config - uid: ComponentTask.IDiagnosticLogger commentId: T:ComponentTask.IDiagnosticLogger parent: ComponentTask name: IDiagnosticLogger nameWithType: IDiagnosticLogger fullName: ComponentTask.IDiagnosticLogger -- uid: ComponentTask.IExceptionHandler - commentId: T:ComponentTask.IExceptionHandler - parent: ComponentTask - name: IExceptionHandler - nameWithType: IExceptionHandler - fullName: ComponentTask.IExceptionHandler +- uid: ComponentTask.Config + commentId: T:ComponentTask.Config + name: Config + nameWithType: Config + fullName: ComponentTask.Config - uid: ComponentTask.ITaskRunner commentId: T:ComponentTask.ITaskRunner parent: ComponentTask @@ -47,6 +41,12 @@ references: name: LocalTaskRunner nameWithType: LocalTaskRunner fullName: ComponentTask.LocalTaskRunner +- uid: ComponentTask.IExceptionHandler + commentId: T:ComponentTask.IExceptionHandler + parent: ComponentTask + name: IExceptionHandler + nameWithType: IExceptionHandler + fullName: ComponentTask.IExceptionHandler - uid: ComponentTask commentId: N:ComponentTask name: ComponentTask diff --git a/.docfx/api/UnityEngine.ComponentExtensions.yml b/.docfx/api/UnityEngine.ComponentExtensions.yml index 4907edc..635223b 100644 --- a/.docfx/api/UnityEngine.ComponentExtensions.yml +++ b/.docfx/api/UnityEngine.ComponentExtensions.yml @@ -6,13 +6,13 @@ items: parent: UnityEngine children: - UnityEngine.ComponentExtensions.GetTaskRunner(Component,UnityEngine.TaskRunOptions) - - UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) + - UnityEngine.ComponentExtensions.StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) - UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) - - UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) + - UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) - UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) - - UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) + - UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) - UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) - - UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) + - UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) - UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) langs: - csharp @@ -24,7 +24,7 @@ items: source: id: ComponentExtensions path: '' - startLine: 12 + startLine: 86 assemblies: - cs.temp.dll namespace: UnityEngine @@ -65,7 +65,7 @@ items: source: id: StartTask path: '' - startLine: 51 + startLine: 125 assemblies: - cs.temp.dll namespace: UnityEngine @@ -120,9 +120,9 @@ items: - Shared fullName.vb: UnityEngine.ComponentExtensions.StartTask(Component, System.Func(Of System.Threading.Tasks.Task), UnityEngine.TaskRunOptions) name.vb: StartTask(Component, Func(Of Task), TaskRunOptions) -- uid: UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) - commentId: M:UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) - id: StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) + commentId: M:UnityEngine.ComponentExtensions.StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) + id: StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) isExtensionMethod: true parent: UnityEngine.ComponentExtensions langs: @@ -130,16 +130,16 @@ items: - vb name: StartTask(Component, Func, TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func, TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, UnityEngine.TaskRunOptions) type: Method source: id: StartTask path: '' - startLine: 105 + startLine: 179 assemblies: - cs.temp.dll namespace: UnityEngine - summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" remarks: "\nThe task will run 'on' the component, meaning that the task gets paused when the component\nis disabled and the task will get cancelled when the component is destroyed.\n\nCan only be called from the unity-thread in play-mode.\n" example: [] syntax: @@ -149,7 +149,7 @@ items: type: Component description: Component to run the task 'on'. - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{CancellationToken,System.Threading.Tasks.Task} description: Function for creating the task. - id: options type: UnityEngine.TaskRunOptions @@ -188,7 +188,7 @@ items: modifiers.vb: - Public - Shared - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Component, System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task), UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Component, System.Func(Of CancellationToken, System.Threading.Tasks.Task), UnityEngine.TaskRunOptions) name.vb: StartTask(Component, Func(Of CancellationToken, Task), TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) @@ -205,7 +205,7 @@ items: source: id: StartTask path: '' - startLine: 157 + startLine: 231 assemblies: - cs.temp.dll namespace: UnityEngine @@ -264,9 +264,9 @@ items: - Shared fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn)(Component, System.Func(Of TIn, System.Threading.Tasks.Task), TIn, UnityEngine.TaskRunOptions) name.vb: StartTask(Of TIn)(Component, Func(Of TIn, Task), TIn, TaskRunOptions) -- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) - commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) - id: StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) + commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) + id: StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) isExtensionMethod: true parent: UnityEngine.ComponentExtensions langs: @@ -274,16 +274,16 @@ items: - vb name: StartTask(Component, Func, TIn, TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func, TIn, TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, TIn, UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, TIn, UnityEngine.TaskRunOptions) type: Method source: id: StartTask path: '' - startLine: 212 + startLine: 286 assemblies: - cs.temp.dll namespace: UnityEngine - summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" remarks: "\nThe task will run 'on' the component, meaning that the task gets paused when the component\nis disabled and the task will get cancelled when the component is destroyed.\n\nCan only be called from the unity-thread in play-mode.\n" example: [] syntax: @@ -293,7 +293,7 @@ items: type: Component description: Component to run the task 'on'. - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} description: Function for creating the task. - id: data type: '{TIn}' @@ -336,7 +336,7 @@ items: modifiers.vb: - Public - Shared - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn)(Component, System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn, UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn)(Component, System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn, UnityEngine.TaskRunOptions) name.vb: StartTask(Of TIn)(Component, Func(Of TIn, CancellationToken, Task), TIn, TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) @@ -353,7 +353,7 @@ items: source: id: StartTask path: '' - startLine: 265 + startLine: 339 assemblies: - cs.temp.dll namespace: UnityEngine @@ -410,9 +410,9 @@ items: - Shared fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TOut)(Component, System.Func(Of System.Threading.Tasks.Task(Of TOut)), UnityEngine.TaskRunOptions) name.vb: StartTask(Of TOut)(Component, Func(Of Task(Of TOut)), TaskRunOptions) -- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) - commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) - id: StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) + commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) + id: StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) isExtensionMethod: true parent: UnityEngine.ComponentExtensions langs: @@ -420,16 +420,16 @@ items: - vb name: StartTask(Component, Func>, TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func>, TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, UnityEngine.TaskRunOptions) type: Method source: id: StartTask path: '' - startLine: 319 + startLine: 393 assemblies: - cs.temp.dll namespace: UnityEngine - summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" remarks: "\nThe task will run 'on' the component, meaning that the task gets paused when the component\nis disabled and the task will get cancelled when the component is destroyed.\n\nCan only be called from the unity-thread in play-mode.\n" example: [] syntax: @@ -439,7 +439,7 @@ items: type: Component description: Component to run the task 'on'. - id: taskCreator - type: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} description: Function for creating the task. - id: options type: UnityEngine.TaskRunOptions @@ -480,7 +480,7 @@ items: modifiers.vb: - Public - Shared - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TOut)(Component, System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TOut)(Component, System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)), UnityEngine.TaskRunOptions) name.vb: StartTask(Of TOut)(Component, Func(Of CancellationToken, Task(Of TOut)), TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) commentId: M:UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) @@ -497,7 +497,7 @@ items: source: id: StartTask path: '' - startLine: 371 + startLine: 445 assemblies: - cs.temp.dll namespace: UnityEngine @@ -557,9 +557,9 @@ items: - Shared fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn, TOut)(Component, System.Func(Of TIn, System.Threading.Tasks.Task(Of TOut)), TIn, UnityEngine.TaskRunOptions) name.vb: StartTask(Of TIn, TOut)(Component, Func(Of TIn, Task(Of TOut)), TIn, TaskRunOptions) -- uid: UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) - commentId: M:UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) - id: StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) + commentId: M:UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) + id: StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) isExtensionMethod: true parent: UnityEngine.ComponentExtensions langs: @@ -567,16 +567,16 @@ items: - vb name: StartTask(Component, Func>, TIn, TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func>, TIn, TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, TIn, UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, TIn, UnityEngine.TaskRunOptions) type: Method source: id: StartTask path: '' - startLine: 426 + startLine: 500 assemblies: - cs.temp.dll namespace: UnityEngine - summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" + summary: "\nStart a task scoped to the given component.\n that is passed to the task-creator is cancelled when the\ncomponent gets destroyed, this can be usefull for cancelling external processes.\n" remarks: "\nThe task will run 'on' the component, meaning that the task gets paused when the component\nis disabled and the task will get cancelled when the component is destroyed.\n\nCan only be called from the unity-thread in play-mode.\n" example: [] syntax: @@ -586,7 +586,7 @@ items: type: Component description: Component to run the task 'on'. - id: taskCreator - type: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} + type: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} description: Function for creating the task. - id: data type: '{TIn}' @@ -630,7 +630,7 @@ items: modifiers.vb: - Public - Shared - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn, TOut)(Component, System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn, TOut)(Component, System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, UnityEngine.TaskRunOptions) name.vb: StartTask(Of TIn, TOut)(Component, Func(Of TIn, CancellationToken, Task(Of TOut)), TIn, TaskRunOptions) - uid: UnityEngine.ComponentExtensions.GetTaskRunner(Component,UnityEngine.TaskRunOptions) commentId: M:UnityEngine.ComponentExtensions.GetTaskRunner(Component,UnityEngine.TaskRunOptions) @@ -647,11 +647,11 @@ items: source: id: GetTaskRunner path: '' - startLine: 462 + startLine: 536 assemblies: - cs.temp.dll namespace: UnityEngine - summary: "\nGet a for the given component.\n" + summary: "\nGet a for the given component.\n" remarks: "\nIf a existing runner exists for the component then that is returned, otherwise a new\nrunner is created.\n\nCan only be called from the unity-thread in play-mode.\n" example: [] syntax: @@ -664,8 +664,8 @@ items: type: UnityEngine.TaskRunOptions description: Options for configuring how tasks are run on this runner. return: - type: ComponentTask.ITaskRunner - description: scoped to the given component. + type: ITaskRunner + description: scoped to the given component. content.vb: >- @@ -1127,18 +1127,15 @@ references: name: System.Threading.Tasks nameWithType: System.Threading.Tasks fullName: System.Threading.Tasks -- uid: System.Threading.CancellationToken - commentId: T:System.Threading.CancellationToken - isExternal: true -- uid: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} - commentId: T:System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task} +- uid: System.Func{CancellationToken,System.Threading.Tasks.Task} + commentId: T:System.Func{CancellationToken,System.Threading.Tasks.Task} parent: System definition: System.Func`2 name: Func nameWithType: Func - fullName: System.Func + fullName: System.Func nameWithType.vb: Func(Of CancellationToken, Task) - fullName.vb: System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task) + fullName.vb: System.Func(Of CancellationToken, System.Threading.Tasks.Task) name.vb: Func(Of CancellationToken, Task) spec.csharp: - uid: System.Func`2 @@ -1149,10 +1146,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1174,10 +1171,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1307,15 +1304,15 @@ references: name: TIn nameWithType: TIn fullName: TIn -- uid: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task} - commentId: T:System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task} +- uid: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task} + commentId: T:System.Func{``0,CancellationToken,System.Threading.Tasks.Task} parent: System definition: System.Func`3 name: Func nameWithType: Func - fullName: System.Func + fullName: System.Func nameWithType.vb: Func(Of TIn, CancellationToken, Task) - fullName.vb: System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task) + fullName.vb: System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task) name.vb: Func(Of TIn, CancellationToken, Task) spec.csharp: - uid: System.Func`3 @@ -1332,10 +1329,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1363,10 +1360,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1583,15 +1580,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} - commentId: T:System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}} +- uid: System.Func{CancellationToken,System.Threading.Tasks.Task{{TOut}}} + commentId: T:System.Func{CancellationToken,System.Threading.Tasks.Task{``0}} parent: System definition: System.Func`2 name: Func> nameWithType: Func> - fullName: System.Func> + fullName: System.Func> nameWithType.vb: Func(Of CancellationToken, Task(Of TOut)) - fullName.vb: System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)) + fullName.vb: System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)) name.vb: Func(Of CancellationToken, Task(Of TOut)) spec.csharp: - uid: System.Func`2 @@ -1602,10 +1599,10 @@ references: - name: < nameWithType: < fullName: < - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1636,10 +1633,10 @@ references: - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1735,15 +1732,15 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Func{{TIn},System.Threading.CancellationToken,System.Threading.Tasks.Task{{TOut}}} - commentId: T:System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}} +- uid: System.Func{{TIn},CancellationToken,System.Threading.Tasks.Task{{TOut}}} + commentId: T:System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}} parent: System definition: System.Func`3 name: Func> nameWithType: Func> - fullName: System.Func> + fullName: System.Func> nameWithType.vb: Func(Of TIn, CancellationToken, Task(Of TOut)) - fullName.vb: System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)) + fullName.vb: System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)) name.vb: Func(Of TIn, CancellationToken, Task(Of TOut)) spec.csharp: - uid: System.Func`3 @@ -1760,10 +1757,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1800,10 +1797,10 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: System.Threading.CancellationToken + - uid: CancellationToken name: CancellationToken nameWithType: CancellationToken - fullName: System.Threading.CancellationToken + fullName: CancellationToken isExternal: true - name: ', ' nameWithType: ', ' @@ -1825,19 +1822,13 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: ComponentTask.ITaskRunner - commentId: T:ComponentTask.ITaskRunner - parent: ComponentTask - name: ITaskRunner - nameWithType: ITaskRunner - fullName: ComponentTask.ITaskRunner - uid: UnityEngine.ComponentExtensions.GetTaskRunner* commentId: Overload:UnityEngine.ComponentExtensions.GetTaskRunner name: GetTaskRunner nameWithType: ComponentExtensions.GetTaskRunner fullName: UnityEngine.ComponentExtensions.GetTaskRunner -- uid: ComponentTask - commentId: N:ComponentTask - name: ComponentTask - nameWithType: ComponentTask - fullName: ComponentTask +- uid: ITaskRunner + isExternal: true + name: ITaskRunner + nameWithType: ITaskRunner + fullName: ITaskRunner diff --git a/.docfx/api/UnityEngine.GameObjectExtensions.yml b/.docfx/api/UnityEngine.GameObjectExtensions.yml index add751d..c42670c 100644 --- a/.docfx/api/UnityEngine.GameObjectExtensions.yml +++ b/.docfx/api/UnityEngine.GameObjectExtensions.yml @@ -16,7 +16,7 @@ items: source: id: GameObjectExtensions path: '' - startLine: 510 + startLine: 34 assemblies: - cs.temp.dll namespace: UnityEngine @@ -57,11 +57,11 @@ items: source: id: CreateTaskRunner path: '' - startLine: 530 + startLine: 54 assemblies: - cs.temp.dll namespace: UnityEngine - summary: "\nCreate a on the given gameobject.\n" + summary: "\nCreate a on the given gameobject.\n" remarks: "\nIf you run tasks on the returned runner then they are cancelled automatically when the\ngameobject is destroyed.\n\nCan only be called from the unity-thread in play-mode.\n" example: [] syntax: @@ -74,8 +74,8 @@ items: type: UnityEngine.TaskRunOptions description: Options for configuring how tasks are run on this runner. return: - type: ComponentTask.ITaskRunner - description: Newly created . + type: ITaskRunner + description: Newly created . content.vb: >- @@ -392,12 +392,6 @@ references: name: System nameWithType: System fullName: System -- uid: ComponentTask.ITaskRunner - commentId: T:ComponentTask.ITaskRunner - parent: ComponentTask - name: ITaskRunner - nameWithType: ITaskRunner - fullName: ComponentTask.ITaskRunner - uid: ComponentTask.Exceptions.NotPlayingException commentId: T:ComponentTask.Exceptions.NotPlayingException name: NotPlayingException @@ -425,8 +419,8 @@ references: name: TaskRunOptions nameWithType: TaskRunOptions fullName: UnityEngine.TaskRunOptions -- uid: ComponentTask - commentId: N:ComponentTask - name: ComponentTask - nameWithType: ComponentTask - fullName: ComponentTask +- uid: ITaskRunner + isExternal: true + name: ITaskRunner + nameWithType: ITaskRunner + fullName: ITaskRunner diff --git a/.docfx/api/UnityEngine.TaskExtensions.yml b/.docfx/api/UnityEngine.TaskExtensions.yml index a659508..8bf5f16 100644 --- a/.docfx/api/UnityEngine.TaskExtensions.yml +++ b/.docfx/api/UnityEngine.TaskExtensions.yml @@ -16,7 +16,7 @@ items: source: id: TaskExtensions path: '' - startLine: 558 + startLine: 8 assemblies: - cs.temp.dll namespace: UnityEngine @@ -57,7 +57,7 @@ items: source: id: DontWait path: '' - startLine: 568 + startLine: 18 assemblies: - cs.temp.dll namespace: UnityEngine diff --git a/.docfx/api/UnityEngine.yml b/.docfx/api/UnityEngine.yml index 5f720c1..d4791d3 100644 --- a/.docfx/api/UnityEngine.yml +++ b/.docfx/api/UnityEngine.yml @@ -18,21 +18,21 @@ items: assemblies: - cs.temp.dll references: -- uid: UnityEngine.ComponentExtensions - commentId: T:UnityEngine.ComponentExtensions - name: ComponentExtensions - nameWithType: ComponentExtensions - fullName: UnityEngine.ComponentExtensions -- uid: UnityEngine.GameObjectExtensions - commentId: T:UnityEngine.GameObjectExtensions - name: GameObjectExtensions - nameWithType: GameObjectExtensions - fullName: UnityEngine.GameObjectExtensions - uid: UnityEngine.TaskExtensions commentId: T:UnityEngine.TaskExtensions name: TaskExtensions nameWithType: TaskExtensions fullName: UnityEngine.TaskExtensions +- uid: UnityEngine.GameObjectExtensions + commentId: T:UnityEngine.GameObjectExtensions + name: GameObjectExtensions + nameWithType: GameObjectExtensions + fullName: UnityEngine.GameObjectExtensions +- uid: UnityEngine.ComponentExtensions + commentId: T:UnityEngine.ComponentExtensions + name: ComponentExtensions + nameWithType: ComponentExtensions + fullName: UnityEngine.ComponentExtensions - uid: UnityEngine.TaskRunOptions commentId: T:UnityEngine.TaskRunOptions parent: UnityEngine diff --git a/docs/api/ComponentTask.Config.html b/docs/api/ComponentTask.Config.html index af14c49..2bd6107 100644 --- a/docs/api/ComponentTask.Config.html +++ b/docs/api/ComponentTask.Config.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.ComponentTaskCanceledException.html b/docs/api/ComponentTask.Exceptions.ComponentTaskCanceledException.html index e79cad0..8b041ed 100644 --- a/docs/api/ComponentTask.Exceptions.ComponentTaskCanceledException.html +++ b/docs/api/ComponentTask.Exceptions.ComponentTaskCanceledException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.ContextChangedException.html b/docs/api/ComponentTask.Exceptions.ContextChangedException.html index a27213d..a265506 100644 --- a/docs/api/ComponentTask.Exceptions.ContextChangedException.html +++ b/docs/api/ComponentTask.Exceptions.ContextChangedException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.InactiveComponentException.html b/docs/api/ComponentTask.Exceptions.InactiveComponentException.html index 68be2d3..91da38c 100644 --- a/docs/api/ComponentTask.Exceptions.InactiveComponentException.html +++ b/docs/api/ComponentTask.Exceptions.InactiveComponentException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.InactiveGameObjectException.html b/docs/api/ComponentTask.Exceptions.InactiveGameObjectException.html index 6b1a165..9c5d565 100644 --- a/docs/api/ComponentTask.Exceptions.InactiveGameObjectException.html +++ b/docs/api/ComponentTask.Exceptions.InactiveGameObjectException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.NonUnityThreadException.html b/docs/api/ComponentTask.Exceptions.NonUnityThreadException.html index 070ca15..4cf2b67 100644 --- a/docs/api/ComponentTask.Exceptions.NonUnityThreadException.html +++ b/docs/api/ComponentTask.Exceptions.NonUnityThreadException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.NotPlayingException.html b/docs/api/ComponentTask.Exceptions.NotPlayingException.html index 9d90088..91747bb 100644 --- a/docs/api/ComponentTask.Exceptions.NotPlayingException.html +++ b/docs/api/ComponentTask.Exceptions.NotPlayingException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html b/docs/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html index ce11c3a..2ac5704 100644 --- a/docs/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html +++ b/docs/api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.Exceptions.html b/docs/api/ComponentTask.Exceptions.html index 21b5308..7049485 100644 --- a/docs/api/ComponentTask.Exceptions.html +++ b/docs/api/ComponentTask.Exceptions.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.IDiagnosticLogger.html b/docs/api/ComponentTask.IDiagnosticLogger.html index c8acb70..55f7262 100644 --- a/docs/api/ComponentTask.IDiagnosticLogger.html +++ b/docs/api/ComponentTask.IDiagnosticLogger.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.IExceptionHandler.html b/docs/api/ComponentTask.IExceptionHandler.html index a472367..398b369 100644 --- a/docs/api/ComponentTask.IExceptionHandler.html +++ b/docs/api/ComponentTask.IExceptionHandler.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/ComponentTask.ITaskRunner.html b/docs/api/ComponentTask.ITaskRunner.html index bc04917..3a2beae 100644 --- a/docs/api/ComponentTask.ITaskRunner.html +++ b/docs/api/ComponentTask.ITaskRunner.html @@ -10,7 +10,7 @@ - + @@ -97,9 +97,9 @@

Methods -

StartTask(Func<CancellationToken, Task>)

+

StartTask(Func<CancellationToken, Task>)

Start a task on this runner. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes.

@@ -118,7 +118,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<CancellationToken, System.Threading.Tasks.Task> taskCreator

Function for creating the task.

@@ -232,9 +232,9 @@
Exceptions
-

StartTask<TIn>(Func<TIn, CancellationToken, Task>, TIn)

+

StartTask<TIn>(Func<TIn, CancellationToken, Task>, TIn)

Start a task on this runner. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes.

@@ -253,7 +253,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task> taskCreator

Function for creating the task.

@@ -411,9 +411,9 @@
Exceptions
-

StartTask<TOut>(Func<CancellationToken, Task<TOut>>)

+

StartTask<TOut>(Func<CancellationToken, Task<TOut>>)

Start a task on this runner. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes.

@@ -432,7 +432,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator

Function for creating the task.

@@ -576,9 +576,9 @@
Exceptions
-

StartTask<TIn, TOut>(Func<TIn, CancellationToken, Task<TOut>>, TIn)

+

StartTask<TIn, TOut>(Func<TIn, CancellationToken, Task<TOut>>, TIn)

Start a task on this runner. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes.

@@ -597,7 +597,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator

Function for creating the task.

diff --git a/docs/api/ComponentTask.LocalTaskRunner.html b/docs/api/ComponentTask.LocalTaskRunner.html index f82c821..04b25df 100644 --- a/docs/api/ComponentTask.LocalTaskRunner.html +++ b/docs/api/ComponentTask.LocalTaskRunner.html @@ -10,7 +10,7 @@ - + @@ -211,9 +211,9 @@
Declaration
-

StartTask(Func<CancellationToken, Task>)

+

StartTask(Func<CancellationToken, Task>)

Start a task on this runner. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes.

@@ -232,7 +232,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<CancellationToken, System.Threading.Tasks.Task> taskCreator

Function for creating the task.

@@ -280,7 +280,7 @@
Exceptions
-

StartTask(Func<CancellationToken, Task>, IDiagnosticLogger)

+

StartTask(Func<CancellationToken, Task>, IDiagnosticLogger)

Declaration
@@ -298,7 +298,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<CancellationToken, System.Threading.Tasks.Task> taskCreator @@ -442,7 +442,7 @@
Returns
-

StartTask<TIn>(Func<TIn, CancellationToken, Task>, TIn)

+

StartTask<TIn>(Func<TIn, CancellationToken, Task>, TIn)

Declaration
@@ -460,7 +460,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task> taskCreator @@ -504,7 +504,7 @@
Type Parameters
-

StartTask<TIn>(Func<TIn, CancellationToken, Task>, TIn, IDiagnosticLogger)

+

StartTask<TIn>(Func<TIn, CancellationToken, Task>, TIn, IDiagnosticLogger)

Declaration
@@ -522,7 +522,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task> taskCreator @@ -702,7 +702,7 @@
Type Parameters
-

StartTask<TOut>(Func<CancellationToken, Task<TOut>>)

+

StartTask<TOut>(Func<CancellationToken, Task<TOut>>)

Declaration
@@ -720,7 +720,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator @@ -759,7 +759,7 @@
Type Parameters
-

StartTask<TOut>(Func<CancellationToken, Task<TOut>>, IDiagnosticLogger)

+

StartTask<TOut>(Func<CancellationToken, Task<TOut>>, IDiagnosticLogger)

Declaration
@@ -777,7 +777,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator @@ -942,7 +942,7 @@
Type Parameters
-

StartTask<TIn, TOut>(Func<TIn, CancellationToken, Task<TOut>>, TIn)

+

StartTask<TIn, TOut>(Func<TIn, CancellationToken, Task<TOut>>, TIn)

Declaration
@@ -960,7 +960,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator @@ -1008,7 +1008,7 @@
Type Parameters
-

StartTask<TIn, TOut>(Func<TIn, CancellationToken, Task<TOut>>, TIn, IDiagnosticLogger)

+

StartTask<TIn, TOut>(Func<TIn, CancellationToken, Task<TOut>>, TIn, IDiagnosticLogger)

Declaration
@@ -1026,7 +1026,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator diff --git a/docs/api/ComponentTask.html b/docs/api/ComponentTask.html index e29decd..718d798 100644 --- a/docs/api/ComponentTask.html +++ b/docs/api/ComponentTask.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UnityEngine.ComponentExtensions.html b/docs/api/UnityEngine.ComponentExtensions.html index 087c02e..661c6b6 100644 --- a/docs/api/UnityEngine.ComponentExtensions.html +++ b/docs/api/UnityEngine.ComponentExtensions.html @@ -10,7 +10,7 @@ - + @@ -127,7 +127,7 @@

Methods

GetTaskRunner(Component, TaskRunOptions)

-

Get a ITaskRunner for the given component.

+

Get a for the given component.

Declaration
@@ -168,8 +168,8 @@
Returns
- ITaskRunner -

ITaskRunner scoped to the given component.

+ ITaskRunner +

scoped to the given component.

@@ -203,9 +203,9 @@
Exceptions
-

StartTask(Component, Func<CancellationToken, Task>, TaskRunOptions)

+

StartTask(Component, Func<CancellationToken, Task>, TaskRunOptions)

Start a task scoped to the given component. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes.

@@ -230,7 +230,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<CancellationToken, System.Threading.Tasks.Task> taskCreator

Function for creating the task.

@@ -259,7 +259,7 @@
Returns
-
Remarks
+
Remarks

The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed.

Can only be called from the unity-thread in play-mode.

@@ -415,9 +415,9 @@
Exceptions
-

StartTask<TIn>(Component, Func<TIn, CancellationToken, Task>, TIn, TaskRunOptions)

+

StartTask<TIn>(Component, Func<TIn, CancellationToken, Task>, TIn, TaskRunOptions)

Start a task scoped to the given component. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes.

@@ -442,7 +442,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task> taskCreator

Function for creating the task.

@@ -491,7 +491,7 @@
Type Parameters
-
Remarks
+
Remarks

The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed.

Can only be called from the unity-thread in play-mode.

@@ -667,9 +667,9 @@
Exceptions
-

StartTask<TOut>(Component, Func<CancellationToken, Task<TOut>>, TaskRunOptions)

+

StartTask<TOut>(Component, Func<CancellationToken, Task<TOut>>, TaskRunOptions)

Start a task scoped to the given component. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes.

@@ -694,7 +694,7 @@
Parameters
- System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator

Function for creating the task.

@@ -738,7 +738,7 @@
Type Parameters
-
Remarks
+
Remarks

The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed.

Can only be called from the unity-thread in play-mode.

@@ -909,9 +909,9 @@
Exceptions
-

StartTask<TIn, TOut>(Component, Func<TIn, CancellationToken, Task<TOut>>, TIn, TaskRunOptions)

+

StartTask<TIn, TOut>(Component, Func<TIn, CancellationToken, Task<TOut>>, TIn, TaskRunOptions)

Start a task scoped to the given component. -System.Threading.CancellationToken that is passed to the task-creator is cancelled when the + that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes.

@@ -936,7 +936,7 @@
Parameters
- System.Func<TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task<TOut>> + System.Func<TIn, CancellationToken, System.Threading.Tasks.Task<TOut>> taskCreator

Function for creating the task.

@@ -989,7 +989,7 @@
Type Parameters
-
Remarks
+
Remarks

The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed.

Can only be called from the unity-thread in play-mode.

diff --git a/docs/api/UnityEngine.GameObjectExtensions.html b/docs/api/UnityEngine.GameObjectExtensions.html index 69d22df..83f4293 100644 --- a/docs/api/UnityEngine.GameObjectExtensions.html +++ b/docs/api/UnityEngine.GameObjectExtensions.html @@ -10,7 +10,7 @@ - + @@ -127,7 +127,7 @@

Methods

CreateTaskRunner(GameObject, TaskRunOptions)

-

Create a ITaskRunner on the given gameobject.

+

Create a on the given gameobject.

Declaration
@@ -168,8 +168,8 @@
Returns
- ITaskRunner -

Newly created ITaskRunner.

+ ITaskRunner +

Newly created .

diff --git a/docs/api/UnityEngine.TaskExtensions.html b/docs/api/UnityEngine.TaskExtensions.html index 91a8808..5fb34ce 100644 --- a/docs/api/UnityEngine.TaskExtensions.html +++ b/docs/api/UnityEngine.TaskExtensions.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UnityEngine.TaskRunOptions.html b/docs/api/UnityEngine.TaskRunOptions.html index d0c3d8b..6eaf188 100644 --- a/docs/api/UnityEngine.TaskRunOptions.html +++ b/docs/api/UnityEngine.TaskRunOptions.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/UnityEngine.html b/docs/api/UnityEngine.html index 8535a21..6729c15 100644 --- a/docs/api/UnityEngine.html +++ b/docs/api/UnityEngine.html @@ -10,7 +10,7 @@ - + diff --git a/docs/api/index.html b/docs/api/index.html index efb4232..78bcad8 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -8,7 +8,7 @@ Api Reference | ComponentTask - + diff --git a/docs/examples.html b/docs/examples.html index 81af47a..57b2874 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -8,7 +8,7 @@ Examples | ComponentTask - + diff --git a/docs/how-to.html b/docs/how-to.html index 2ebe700..e4441e0 100644 --- a/docs/how-to.html +++ b/docs/how-to.html @@ -8,7 +8,7 @@ How To | ComponentTask - + diff --git a/docs/index.html b/docs/index.html index 5e989cf..fdf7a11 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,7 +8,7 @@ ComponentTask-Unity | ComponentTask - + diff --git a/docs/index.json b/docs/index.json index 8254a7c..4d480c0 100644 --- a/docs/index.json +++ b/docs/index.json @@ -1,122 +1,122 @@ { - "api/UnityEngine.ComponentExtensions.html": { - "href": "api/UnityEngine.ComponentExtensions.html", - "title": "Class ComponentExtensions | ComponentTask", - "keywords": "Class ComponentExtensions Extensions for 'UnityEngine.Component'. Inheritance System.Object ComponentExtensions Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax public static class ComponentExtensions Methods GetTaskRunner(Component, TaskRunOptions) Get a ITaskRunner for the given component. Declaration public static ITaskRunner GetTaskRunner(this Component component, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to get the runner for. TaskRunOptions options Options for configuring how tasks are run on this runner. Returns Type Description ITaskRunner ITaskRunner scoped to the given component. Remarks If a existing runner exists for the component then that is returned, otherwise a new runner is created. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. StartTask(Component, Func, TaskRunOptions) Start a task scoped to the given component. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func, TIn, TaskRunOptions) Start a task scoped to the given component. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func, TIn, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TaskRunOptions) Start a task scoped to the given component. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func> taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func> taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TIn, TaskRunOptions) Start a task scoped to the given component. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func> taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func > taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TIn, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func> taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func > taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag." - }, - "how-to.html": { - "href": "how-to.html", - "title": "How To | ComponentTask", - "keywords": "How To Usage Start a 'Task' on your MonoBehaviour with this.StartTask(...) . The task then runs 'on' your MonoBehaviour meaning it gets paused when your MonoBehaviour is disabled and it gets stopped when your MonoBehaviour gets destroyed. This means that inside your task you don't need to worry about being destroyed. Any exceptions that happen inside your Task are reported to the Unity log, so no silent failures. Basic example using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { while (true) { Debug.Log(\"Running...\"); await Task.Yield(); } } } This example will print Running... every frame when the component is enabled and will stop when the component gets destroyed." - }, "api/index.html": { "href": "api/index.html", "title": "Api Reference | ComponentTask", "keywords": "Api Reference Main api lives in the ' ComponentTask ' namespace. And some extension methods live in the UnityEngine namespace. Reason for having those extension methods live in the UnityEngine namespace is that it avoids users having to add using directives and also makes the api more discoverable as it will show up in intellisense. To avoid cluttering the UnityEngine namespace as few as possibles types live there. Namespaces ComponentTask UnityEngine Source All source is available on Github ." }, - "api/ComponentTask.Exceptions.ComponentTaskCanceledException.html": { - "href": "api/ComponentTask.Exceptions.ComponentTaskCanceledException.html", - "title": "Class ComponentTaskCanceledException | ComponentTask", - "keywords": "Class ComponentTaskCanceledException Exception that is attached to tasks returned from ITaskRunner when they are cancelled. Inheritance System.Object System.Exception System.SystemException System.OperationCanceledException System.Threading.Tasks.TaskCanceledException ComponentTaskCanceledException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Threading.Tasks.TaskCanceledException.Task System.OperationCanceledException.CancellationToken System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class ComponentTaskCanceledException : TaskCanceledException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" + "api/ComponentTask.Exceptions.NotPlayingException.html": { + "href": "api/ComponentTask.Exceptions.NotPlayingException.html", + "title": "Class NotPlayingException | ComponentTask", + "keywords": "Class NotPlayingException Exception that is thrown when an api that can only be called while 'Playing' is called in edit-mode. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException NotPlayingException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class NotPlayingException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "examples.html": { - "href": "examples.html", - "title": "Examples | ComponentTask", - "keywords": "Examples These examples can also be found in the .example directory. Basic example using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { while (true) { Debug.Log(\"Running...\"); await Task.Yield(); } } } This example will print Running... every frame when the component is enabled and will stop when the component gets destroyed. Awaiting other methods using System; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { while (true) { var val = await GetValueAsync(); Debug.Log($\"Got value: '{val}'\"); } } async Task GetValueAsync() { await Task.Delay(TimeSpan.FromSeconds(1)); return Time.frameCount; } } When you await other methods they automatically belong to the same scope as the task that starts them. So in this example GetValueAsync also runs as part of the MyClass scope and stops when the component is destroyed. Exposing a method that produces a value But what if you want to expose a api that produces a value, what happens to the task once your component gets destroyed. using System; using System.Threading.Tasks; using UnityEngine; class Producer : MonoBehaviour { public Task GetValueAsync() => this.StartTask(ProduceValueAsync); async Task ProduceValueAsync() { await Task.Delay(TimeSpan.FromSeconds(1)); return Time.frameCount; } } The Task (or Task ) returned out of This.StartTask(...) properly goes into a 'cancelled' state when the component is destroyed. Which means that when you await that task you will get a TaskCanceledException that you can handle. On the receiving side: using System.Threading.Tasks; using UnityEngine; class Consumer : MonoBehaviour { [SerializeField] private Producer producer; void Start() { this.StartTask(RunAsync); } async Task RunAsync() { try { var val = await producer.GetValueAsync(); Debug.Log($\"Got value: '{val}'\"); } catch (TaskCanceledException) { Debug.Log(\"The producer was destroyed before producing the result\"); } } } If you don't catch the exception then the exception is logged to the unity log and your task will go to a faulted state. But the nice thing is that if both components have the same lifetime (destroyed at the same time) then there is no problem (and you won't get any exceptions). Avoiding closures To avoid having to capture closures you can pass an argument into you task using this.StartTask(...) . using System; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { var delay = 1; this.StartTask(WaitAndDoSomethingAsync, delay); } async Task WaitAndDoSomethingAsync(int secondsDelay) { await Task.Delay(TimeSpan.FromSeconds(secondsDelay)); Debug.Log(\"Doing something\"); } } Only one argument is supported but with the 'new' tuples in c# 7 there is a nice (and efficient) workaround: using System; using System.Threading.Tasks; using UnityEngine; class MyClassWithValueTuple : MonoBehaviour { void Start() { this.StartTask(WaitAndLog, (secondsDelay: 1, message: \"Hello World\")); } async Task WaitAndLog((int secondsDelay, string message) input) { await Task.Delay(TimeSpan.FromSeconds(input.secondsDelay)); Debug.Log(input.message); } } Cancelling external work To make it easier to cancel external work when your component is destroyed this.StartTask(...) optionally gives you a CancellationToken to give to external api's. using System.Net.Http; using System.Threading; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { var url = \"https://github.com/BastianBlokland/componenttask-unity\"; this.StartTask(DownloadTextAsync, url); } async Task DownloadTextAsync(string url, CancellationToken cancelToken) { using (var client = new HttpClient()) { var response = await client.GetAsync(url, cancelToken); var responseText = await response.Content.ReadAsStringAsync(); Debug.Log($\"Text: '{responseText}'\"); } } } Giving the CancellationToken here will make sure that the web-request is actually aborted when this component is destroyed. Running expensive blocking work on a background thread Something that the Task based model make very easy is interacting with code that runs on a different thread. You can for example run your expensive blocking code in a background thread and await a Task handle to it. using System; using System.Threading; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { var result = await Task.Run(VeryExpensiveBlockingCode); Debug.Log($\"Got value: '{result}'\"); } int VeryExpensiveBlockingCode() { Thread.Sleep(TimeSpan.FromSeconds(5)); return 42; } } Even though VeryExpensiveBlockingCode blocks for 5 seconds because we run it on a background-thread (with Task.Run ) the unity-thread stays responsive. Caching a task-runner. If you are going to start many tasks you can also create a ITaskRunner on a gameobject and cache a reference to it. That runner will remain valid as long as that gameobject is still alive. using System.Threading.Tasks; using UnityEngine; using ComponentTask; class MyClass : MonoBehaviour { private ITaskRunner runner; void Start() { this.runner = this.gameObject.CreateTaskRunner(); } void Update() { this.runner.StartTask(this.WaitAndLogAsync); } async Task WaitAndLogAsync() { await Task.Yield(); Debug.Log(\"Running\"); } } Custom LocalTaskRunner. If you dont to scope you tasks to Unity Components but control the update ticks yourself you can manually create a 'LocalTaskRunner' and control its ticks yourself. using System; using System.Threading.Tasks; using UnityEngine; using ComponentTask; class MyClass : MonoBehaviour, IExceptionHandler { [SerializeField] private bool isPaused; private LocalTaskRunner runner; void Start() { this.runner = new LocalTaskRunner(exceptionHandler: this); this.runner.StartTask(this.RunAsync); } void Update() { if (!this.isPaused) this.runner.Execute(); } void OnDestroy() { this.runner.Dispose(); } async Task RunAsync() { while (true) { Debug.Log(\"Running\"); await Task.Yield(); } } void IExceptionHandler.Handle(Exception exception) { Debug.Log($\"Exception occurred: '{exception.Message}'\"); } } OnGUI tasks using custom LocalTaskRunner. Because with a custom LocalTaskRunner you control when tasks are updated you could implement tasks that run during OnGUI to draw ui. using System; using System.Threading.Tasks; using UnityEngine; using ComponentTask; class MyClass : MonoBehaviour, IExceptionHandler { private LocalTaskRunner guiTaskRunner; void Start() { this.guiTaskRunner = new LocalTaskRunner(exceptionHandler: this); this.guiTaskRunner.StartTask(this.DrawUIAsync); } void OnGUI() { this.guiTaskRunner.Execute(); } void OnDestroy() { this.guiTaskRunner.Dispose(); } async Task DrawUIAsync() { while (true) { await Task.Yield(); GUI.Label(new Rect(0f, 0f, 100f, 100f), \"Drawn from a task :)\"); } } void IExceptionHandler.Handle(Exception exception) { Debug.Log($\"Exception occurred: '{exception.Message}'\"); } } Using a similar pattern your can make tasks task run during FixedUpdate to interact with Unity's physics world for example." + "install.html": { + "href": "install.html", + "title": "Installation | ComponentTask", + "keywords": "Installation Add package Add a reference to this repository to your package dependencies ( Packages/manifest.json ) \"dependencies\": { \"com.bastianblokland.componenttask\": \"https://github.com/BastianBlokland/componenttask-unity.git#v1.8\", ... } Use the tag at the end to specify the version to use. Latest version: Avoid adding a git path without a tag as latest master is not guaranteed to be stable, also it will make package resolving non-deterministic as every time you resolve master it might be a different commit. Upgrading To update to a newer version simply open your package manifest ( Packages/manifest.json ) and set the tag at the end of the git url (for example v1.8.1 ) to a later version." + }, + "api/ComponentTask.LocalTaskRunner.html": { + "href": "api/ComponentTask.LocalTaskRunner.html", + "title": "Class LocalTaskRunner | ComponentTask", + "keywords": "Class LocalTaskRunner TaskRunner that you can 'tick' manually. Inheritance System.Object LocalTaskRunner Implements ITaskRunner System.IDisposable Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public sealed class LocalTaskRunner : ITaskRunner, IDisposable Constructors LocalTaskRunner(IExceptionHandler) Construct a new instance of the LocalTaskRunner class. Declaration public LocalTaskRunner(IExceptionHandler exceptionHandler) Parameters Type Name Description IExceptionHandler exceptionHandler Handler to use when exception occur in tasks. Methods AssertRunningTaskCount(Int32) Valid in 'DEBUG' only, useful for tests. Declaration public void AssertRunningTaskCount(int expectedCount) Parameters Type Name Description System.Int32 expectedCount Dispose() Declaration public void Dispose() Execute() Execute all the work that was 'scheduled' by the tasks running on this runner. Declaration public void Execute() StartTask(Func) Start a task on this runner. that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration public Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task StartTask(Func) Start a task on this runner. Declaration public Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task StartTask(Func, TIn) Declaration public Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func, TIn) Declaration public Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func>) Declaration public Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>) Declaration public Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>, TIn) Declaration public Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut StartTask(Func>, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func > taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut StartTask(Func>, TIn) Declaration public Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut StartTask(Func>, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func > taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut Implements ITaskRunner System.IDisposable" + }, + "index.html": { + "href": "index.html", + "title": "ComponentTask-Unity | ComponentTask", + "keywords": "ComponentTask-Unity Unity package for running dotnet Task and Task scoped to Unity components. Description Common problem with using c# async methods in Unity is that they have no concept of a component life-time. So unlike Coroutines when you 'start' a task and then destroy the component (by loading a new scene for example) the task does not stop. Most of the time leading to UnityEngine.MissingReferenceException when you try to access members of the component after it has been destroyed on the Unity side. And as a workaround you have to write ugly ' if (!this) return; ' guards after every await. This library aims to fix that problem by allowing you to run tasks 'on' your MonoBehaviour with very similar behaviour as Unity's Coroutines . Documentation Install How To Examples Api Reference Repository CI Basic Azure pipeline for running tests: Pipeline ." + }, + "how-to.html": { + "href": "how-to.html", + "title": "How To | ComponentTask", + "keywords": "How To Usage Start a 'Task' on your MonoBehaviour with this.StartTask(...) . The task then runs 'on' your MonoBehaviour meaning it gets paused when your MonoBehaviour is disabled and it gets stopped when your MonoBehaviour gets destroyed. This means that inside your task you don't need to worry about being destroyed. Any exceptions that happen inside your Task are reported to the Unity log, so no silent failures. Basic example using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { while (true) { Debug.Log(\"Running...\"); await Task.Yield(); } } } This example will print Running... every frame when the component is enabled and will stop when the component gets destroyed." }, "api/ComponentTask.Exceptions.InactiveGameObjectException.html": { "href": "api/ComponentTask.Exceptions.InactiveGameObjectException.html", "title": "Class InactiveGameObjectException | ComponentTask", "keywords": "Class InactiveGameObjectException Exception that is thrown when attempting to execute a operation on a inactive gameobject. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException InactiveGameObjectException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class InactiveGameObjectException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "api/ComponentTask.Exceptions.ContextChangedException.html": { - "href": "api/ComponentTask.Exceptions.ContextChangedException.html", - "title": "Class ContextChangedException | ComponentTask", - "keywords": "Class ContextChangedException Exception that is thrown when the 'SynchronizationContext.Current' changes unexpectedly, most likely caused by code that sets 'SynchronizationContext.Current' but does not set it back to the previous. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException ContextChangedException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class ContextChangedException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" - }, - "api/ComponentTask.html": { - "href": "api/ComponentTask.html", - "title": "Namespace ComponentTask | ComponentTask", - "keywords": "Namespace ComponentTask Classes Config Global configuration. LocalTaskRunner TaskRunner that you can 'tick' manually. Interfaces IDiagnosticLogger Interface for logging diagnostic output. IExceptionHandler Interface for a exception handler. ITaskRunner Runner for running tasks." + "examples.html": { + "href": "examples.html", + "title": "Examples | ComponentTask", + "keywords": "Examples These examples can also be found in the .example directory. Basic example using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { while (true) { Debug.Log(\"Running...\"); await Task.Yield(); } } } This example will print Running... every frame when the component is enabled and will stop when the component gets destroyed. Awaiting other methods using System; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { while (true) { var val = await GetValueAsync(); Debug.Log($\"Got value: '{val}'\"); } } async Task GetValueAsync() { await Task.Delay(TimeSpan.FromSeconds(1)); return Time.frameCount; } } When you await other methods they automatically belong to the same scope as the task that starts them. So in this example GetValueAsync also runs as part of the MyClass scope and stops when the component is destroyed. Exposing a method that produces a value But what if you want to expose a api that produces a value, what happens to the task once your component gets destroyed. using System; using System.Threading.Tasks; using UnityEngine; class Producer : MonoBehaviour { public Task GetValueAsync() => this.StartTask(ProduceValueAsync); async Task ProduceValueAsync() { await Task.Delay(TimeSpan.FromSeconds(1)); return Time.frameCount; } } The Task (or Task ) returned out of This.StartTask(...) properly goes into a 'cancelled' state when the component is destroyed. Which means that when you await that task you will get a TaskCanceledException that you can handle. On the receiving side: using System.Threading.Tasks; using UnityEngine; class Consumer : MonoBehaviour { [SerializeField] private Producer producer; void Start() { this.StartTask(RunAsync); } async Task RunAsync() { try { var val = await producer.GetValueAsync(); Debug.Log($\"Got value: '{val}'\"); } catch (TaskCanceledException) { Debug.Log(\"The producer was destroyed before producing the result\"); } } } If you don't catch the exception then the exception is logged to the unity log and your task will go to a faulted state. But the nice thing is that if both components have the same lifetime (destroyed at the same time) then there is no problem (and you won't get any exceptions). Avoiding closures To avoid having to capture closures you can pass an argument into you task using this.StartTask(...) . using System; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { var delay = 1; this.StartTask(WaitAndDoSomethingAsync, delay); } async Task WaitAndDoSomethingAsync(int secondsDelay) { await Task.Delay(TimeSpan.FromSeconds(secondsDelay)); Debug.Log(\"Doing something\"); } } Only one argument is supported but with the 'new' tuples in c# 7 there is a nice (and efficient) workaround: using System; using System.Threading.Tasks; using UnityEngine; class MyClassWithValueTuple : MonoBehaviour { void Start() { this.StartTask(WaitAndLog, (secondsDelay: 1, message: \"Hello World\")); } async Task WaitAndLog((int secondsDelay, string message) input) { await Task.Delay(TimeSpan.FromSeconds(input.secondsDelay)); Debug.Log(input.message); } } Cancelling external work To make it easier to cancel external work when your component is destroyed this.StartTask(...) optionally gives you a CancellationToken to give to external api's. using System.Net.Http; using System.Threading; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { var url = \"https://github.com/BastianBlokland/componenttask-unity\"; this.StartTask(DownloadTextAsync, url); } async Task DownloadTextAsync(string url, CancellationToken cancelToken) { using (var client = new HttpClient()) { var response = await client.GetAsync(url, cancelToken); var responseText = await response.Content.ReadAsStringAsync(); Debug.Log($\"Text: '{responseText}'\"); } } } Giving the CancellationToken here will make sure that the web-request is actually aborted when this component is destroyed. Running expensive blocking work on a background thread Something that the Task based model make very easy is interacting with code that runs on a different thread. You can for example run your expensive blocking code in a background thread and await a Task handle to it. using System; using System.Threading; using System.Threading.Tasks; using UnityEngine; class MyClass : MonoBehaviour { void Start() { this.StartTask(RunAsync); } async Task RunAsync() { var result = await Task.Run(VeryExpensiveBlockingCode); Debug.Log($\"Got value: '{result}'\"); } int VeryExpensiveBlockingCode() { Thread.Sleep(TimeSpan.FromSeconds(5)); return 42; } } Even though VeryExpensiveBlockingCode blocks for 5 seconds because we run it on a background-thread (with Task.Run ) the unity-thread stays responsive. Caching a task-runner. If you are going to start many tasks you can also create a ITaskRunner on a gameobject and cache a reference to it. That runner will remain valid as long as that gameobject is still alive. using System.Threading.Tasks; using UnityEngine; using ComponentTask; class MyClass : MonoBehaviour { private ITaskRunner runner; void Start() { this.runner = this.gameObject.CreateTaskRunner(); } void Update() { this.runner.StartTask(this.WaitAndLogAsync); } async Task WaitAndLogAsync() { await Task.Yield(); Debug.Log(\"Running\"); } } Custom LocalTaskRunner. If you dont to scope you tasks to Unity Components but control the update ticks yourself you can manually create a 'LocalTaskRunner' and control its ticks yourself. using System; using System.Threading.Tasks; using UnityEngine; using ComponentTask; class MyClass : MonoBehaviour, IExceptionHandler { [SerializeField] private bool isPaused; private LocalTaskRunner runner; void Start() { this.runner = new LocalTaskRunner(exceptionHandler: this); this.runner.StartTask(this.RunAsync); } void Update() { if (!this.isPaused) this.runner.Execute(); } void OnDestroy() { this.runner.Dispose(); } async Task RunAsync() { while (true) { Debug.Log(\"Running\"); await Task.Yield(); } } void IExceptionHandler.Handle(Exception exception) { Debug.Log($\"Exception occurred: '{exception.Message}'\"); } } OnGUI tasks using custom LocalTaskRunner. Because with a custom LocalTaskRunner you control when tasks are updated you could implement tasks that run during OnGUI to draw ui. using System; using System.Threading.Tasks; using UnityEngine; using ComponentTask; class MyClass : MonoBehaviour, IExceptionHandler { private LocalTaskRunner guiTaskRunner; void Start() { this.guiTaskRunner = new LocalTaskRunner(exceptionHandler: this); this.guiTaskRunner.StartTask(this.DrawUIAsync); } void OnGUI() { this.guiTaskRunner.Execute(); } void OnDestroy() { this.guiTaskRunner.Dispose(); } async Task DrawUIAsync() { while (true) { await Task.Yield(); GUI.Label(new Rect(0f, 0f, 100f, 100f), \"Drawn from a task :)\"); } } void IExceptionHandler.Handle(Exception exception) { Debug.Log($\"Exception occurred: '{exception.Message}'\"); } } Using a similar pattern your can make tasks task run during FixedUpdate to interact with Unity's physics world for example." }, "api/ComponentTask.Config.html": { "href": "api/ComponentTask.Config.html", "title": "Class Config | ComponentTask", "keywords": "Class Config Global configuration. Inheritance System.Object Config Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public static class Config Properties GlobalDiagnosticsActive Should diagnostics be enabled. Declaration public static bool GlobalDiagnosticsActive { get; set; } Property Value Type Description System.Boolean True if diagnostics are active, otherwise false. Remarks Runs all tasks with the ' DiagnosticLogging ' flag." }, - "api/ComponentTask.Exceptions.NonUnityThreadException.html": { - "href": "api/ComponentTask.Exceptions.NonUnityThreadException.html", - "title": "Class NonUnityThreadException | ComponentTask", - "keywords": "Class NonUnityThreadException Exception that is thrown when an api that can only be called from the unity-thread is called from a different thread. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException NonUnityThreadException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class NonUnityThreadException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" - }, "api/UnityEngine.TaskRunOptions.html": { "href": "api/UnityEngine.TaskRunOptions.html", "title": "Enum TaskRunOptions | ComponentTask", "keywords": "Enum TaskRunOptions Flags for configuring how tasks are being run. Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax [Flags] public enum TaskRunOptions Fields Name Description Default Default run options. DiagnosticLogging Enable diagnostic logging. UpdateWhileComponentDisabled Tasks are updated even if the component is disabled." }, + "api/ComponentTask.ITaskRunner.html": { + "href": "api/ComponentTask.ITaskRunner.html", + "title": "Interface ITaskRunner | ComponentTask", + "keywords": "Interface ITaskRunner Runner for running tasks. Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public interface ITaskRunner Methods StartTask(Func) Start a task on this runner. that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func) Start a task on this runner. Declaration Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func, TIn) Start a task on this runner. that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator Function for creating the task. TIn data Data to pass into the taskCreator . Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn Type of the data to pass into the taskCreator . Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func, TIn) Start a task on this runner. Declaration Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator Function for creating the task. TIn data Data to pass into the taskCreator . Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn Type of the data to pass into the taskCreator . Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func>) Start a task on this runner. that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func>) Start a task on this runner. Declaration Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func>, TIn) Start a task on this runner. that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator Function for creating the task. TIn data Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func>, TIn) Start a task on this runner. Declaration Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator Function for creating the task. TIn data Data to pass into the taskCreator . Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn Type of the data to pass into the taskCreator . TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled." + }, + "api/ComponentTask.IDiagnosticLogger.html": { + "href": "api/ComponentTask.IDiagnosticLogger.html", + "title": "Interface IDiagnosticLogger | ComponentTask", + "keywords": "Interface IDiagnosticLogger Interface for logging diagnostic output. Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public interface IDiagnosticLogger Remarks Can be used to get diagnostic output when using a custom LocalTaskRunner . Methods Log(String) Log a diagnostic message. Declaration void Log(string message) Parameters Type Name Description System.String message Message to log." + }, "api/ComponentTask.Exceptions.InactiveComponentException.html": { "href": "api/ComponentTask.Exceptions.InactiveComponentException.html", "title": "Class InactiveComponentException | ComponentTask", "keywords": "Class InactiveComponentException Exception that is thrown when attempting to execute a operation on a inactive component. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException InactiveComponentException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class InactiveComponentException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "api/UnityEngine.TaskExtensions.html": { - "href": "api/UnityEngine.TaskExtensions.html", - "title": "Class TaskExtensions | ComponentTask", - "keywords": "Class TaskExtensions Extensions for 'System.Task'. Inheritance System.Object TaskExtensions Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax public static class TaskExtensions Methods DontWait(Task) Extension method to suppress the warning you get when you don't await a task in a async method. Declaration public static void DontWait(this Task task) Parameters Type Name Description System.Threading.Tasks.Task task Task to not wait for. Remarks Should only be used when you are sure that not-waiting for the task is what you want." + "api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html": { + "href": "api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html", + "title": "Class TaskCreatorReturnedNullException | ComponentTask", + "keywords": "Class TaskCreatorReturnedNullException Exception that is thrown when a task-creator returns null. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException TaskCreatorReturnedNullException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class TaskCreatorReturnedNullException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "api/UnityEngine.GameObjectExtensions.html": { - "href": "api/UnityEngine.GameObjectExtensions.html", - "title": "Class GameObjectExtensions | ComponentTask", - "keywords": "Class GameObjectExtensions Extensions for 'UnityEngine.GameObject'. Inheritance System.Object GameObjectExtensions Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax public static class GameObjectExtensions Methods CreateTaskRunner(GameObject, TaskRunOptions) Create a ITaskRunner on the given gameobject. Declaration public static ITaskRunner CreateTaskRunner(this GameObject gameObject, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description GameObject gameObject GameObject to create the task-runner on. TaskRunOptions options Options for configuring how tasks are run on this runner. Returns Type Description ITaskRunner Newly created ITaskRunner . Remarks If you run tasks on the returned runner then they are cancelled automatically when the gameobject is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread." + "api/UnityEngine.html": { + "href": "api/UnityEngine.html", + "title": "Namespace UnityEngine | ComponentTask", + "keywords": "Namespace UnityEngine Classes ComponentExtensions Extensions for 'UnityEngine.Component'. GameObjectExtensions Extensions for 'UnityEngine.GameObject'. TaskExtensions Extensions for 'System.Task'. Enums TaskRunOptions Flags for configuring how tasks are being run." }, "api/ComponentTask.IExceptionHandler.html": { "href": "api/ComponentTask.IExceptionHandler.html", "title": "Interface IExceptionHandler | ComponentTask", "keywords": "Interface IExceptionHandler Interface for a exception handler. Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public interface IExceptionHandler Remarks Can be used to log exceptions when using a custom LocalTaskRunner . Methods Handle(Exception) Handle the exception that was thrown. Declaration void Handle(Exception exception) Parameters Type Name Description System.Exception exception Exception that was thrown." }, - "api/ComponentTask.Exceptions.NotPlayingException.html": { - "href": "api/ComponentTask.Exceptions.NotPlayingException.html", - "title": "Class NotPlayingException | ComponentTask", - "keywords": "Class NotPlayingException Exception that is thrown when an api that can only be called while 'Playing' is called in edit-mode. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException NotPlayingException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class NotPlayingException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" - }, - "api/ComponentTask.Exceptions.html": { - "href": "api/ComponentTask.Exceptions.html", - "title": "Namespace ComponentTask.Exceptions | ComponentTask", - "keywords": "Namespace ComponentTask.Exceptions Classes ComponentTaskCanceledException Exception that is attached to tasks returned from ITaskRunner when they are cancelled. ContextChangedException Exception that is thrown when the 'SynchronizationContext.Current' changes unexpectedly, most likely caused by code that sets 'SynchronizationContext.Current' but does not set it back to the previous. InactiveComponentException Exception that is thrown when attempting to execute a operation on a inactive component. InactiveGameObjectException Exception that is thrown when attempting to execute a operation on a inactive gameobject. NonUnityThreadException Exception that is thrown when an api that can only be called from the unity-thread is called from a different thread. NotPlayingException Exception that is thrown when an api that can only be called while 'Playing' is called in edit-mode. TaskCreatorReturnedNullException Exception that is thrown when a task-creator returns null." + "api/ComponentTask.Exceptions.ComponentTaskCanceledException.html": { + "href": "api/ComponentTask.Exceptions.ComponentTaskCanceledException.html", + "title": "Class ComponentTaskCanceledException | ComponentTask", + "keywords": "Class ComponentTaskCanceledException Exception that is attached to tasks returned from ITaskRunner when they are cancelled. Inheritance System.Object System.Exception System.SystemException System.OperationCanceledException System.Threading.Tasks.TaskCanceledException ComponentTaskCanceledException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Threading.Tasks.TaskCanceledException.Task System.OperationCanceledException.CancellationToken System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class ComponentTaskCanceledException : TaskCanceledException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html": { - "href": "api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html", - "title": "Class TaskCreatorReturnedNullException | ComponentTask", - "keywords": "Class TaskCreatorReturnedNullException Exception that is thrown when a task-creator returns null. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException TaskCreatorReturnedNullException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class TaskCreatorReturnedNullException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" + "api/UnityEngine.GameObjectExtensions.html": { + "href": "api/UnityEngine.GameObjectExtensions.html", + "title": "Class GameObjectExtensions | ComponentTask", + "keywords": "Class GameObjectExtensions Extensions for 'UnityEngine.GameObject'. Inheritance System.Object GameObjectExtensions Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax public static class GameObjectExtensions Methods CreateTaskRunner(GameObject, TaskRunOptions) Create a on the given gameobject. Declaration public static ITaskRunner CreateTaskRunner(this GameObject gameObject, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description GameObject gameObject GameObject to create the task-runner on. TaskRunOptions options Options for configuring how tasks are run on this runner. Returns Type Description ITaskRunner Newly created . Remarks If you run tasks on the returned runner then they are cancelled automatically when the gameobject is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread." }, - "api/ComponentTask.IDiagnosticLogger.html": { - "href": "api/ComponentTask.IDiagnosticLogger.html", - "title": "Interface IDiagnosticLogger | ComponentTask", - "keywords": "Interface IDiagnosticLogger Interface for logging diagnostic output. Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public interface IDiagnosticLogger Remarks Can be used to get diagnostic output when using a custom LocalTaskRunner . Methods Log(String) Log a diagnostic message. Declaration void Log(string message) Parameters Type Name Description System.String message Message to log." + "api/ComponentTask.html": { + "href": "api/ComponentTask.html", + "title": "Namespace ComponentTask | ComponentTask", + "keywords": "Namespace ComponentTask Classes Config Global configuration. LocalTaskRunner TaskRunner that you can 'tick' manually. Interfaces IDiagnosticLogger Interface for logging diagnostic output. IExceptionHandler Interface for a exception handler. ITaskRunner Runner for running tasks." }, - "api/UnityEngine.html": { - "href": "api/UnityEngine.html", - "title": "Namespace UnityEngine | ComponentTask", - "keywords": "Namespace UnityEngine Classes ComponentExtensions Extensions for 'UnityEngine.Component'. GameObjectExtensions Extensions for 'UnityEngine.GameObject'. TaskExtensions Extensions for 'System.Task'. Enums TaskRunOptions Flags for configuring how tasks are being run." + "api/UnityEngine.TaskExtensions.html": { + "href": "api/UnityEngine.TaskExtensions.html", + "title": "Class TaskExtensions | ComponentTask", + "keywords": "Class TaskExtensions Extensions for 'System.Task'. Inheritance System.Object TaskExtensions Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax public static class TaskExtensions Methods DontWait(Task) Extension method to suppress the warning you get when you don't await a task in a async method. Declaration public static void DontWait(this Task task) Parameters Type Name Description System.Threading.Tasks.Task task Task to not wait for. Remarks Should only be used when you are sure that not-waiting for the task is what you want." }, - "api/ComponentTask.ITaskRunner.html": { - "href": "api/ComponentTask.ITaskRunner.html", - "title": "Interface ITaskRunner | ComponentTask", - "keywords": "Interface ITaskRunner Runner for running tasks. Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public interface ITaskRunner Methods StartTask(Func) Start a task on this runner. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func) Start a task on this runner. Declaration Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func, TIn) Start a task on this runner. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator Function for creating the task. TIn data Data to pass into the taskCreator . Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn Type of the data to pass into the taskCreator . Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func, TIn) Start a task on this runner. Declaration Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator Function for creating the task. TIn data Data to pass into the taskCreator . Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn Type of the data to pass into the taskCreator . Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func>) Start a task on this runner. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func>) Start a task on this runner. Declaration Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func>, TIn) Start a task on this runner. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator Function for creating the task. TIn data Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func>, TIn) Start a task on this runner. Declaration Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator Function for creating the task. TIn data Data to pass into the taskCreator . Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Type Parameters Name Description TIn Type of the data to pass into the taskCreator . TOut Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled." + "api/ComponentTask.Exceptions.ContextChangedException.html": { + "href": "api/ComponentTask.Exceptions.ContextChangedException.html", + "title": "Class ContextChangedException | ComponentTask", + "keywords": "Class ContextChangedException Exception that is thrown when the 'SynchronizationContext.Current' changes unexpectedly, most likely caused by code that sets 'SynchronizationContext.Current' but does not set it back to the previous. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException ContextChangedException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class ContextChangedException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "api/ComponentTask.LocalTaskRunner.html": { - "href": "api/ComponentTask.LocalTaskRunner.html", - "title": "Class LocalTaskRunner | ComponentTask", - "keywords": "Class LocalTaskRunner TaskRunner that you can 'tick' manually. Inheritance System.Object LocalTaskRunner Implements ITaskRunner System.IDisposable Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask Assembly : cs.temp.dll.dll Syntax public sealed class LocalTaskRunner : ITaskRunner, IDisposable Constructors LocalTaskRunner(IExceptionHandler) Construct a new instance of the LocalTaskRunner class. Declaration public LocalTaskRunner(IExceptionHandler exceptionHandler) Parameters Type Name Description IExceptionHandler exceptionHandler Handler to use when exception occur in tasks. Methods AssertRunningTaskCount(Int32) Valid in 'DEBUG' only, useful for tests. Declaration public void AssertRunningTaskCount(int expectedCount) Parameters Type Name Description System.Int32 expectedCount Dispose() Declaration public void Dispose() Execute() Execute all the work that was 'scheduled' by the tasks running on this runner. Declaration public void Execute() StartTask(Func) Start a task on this runner. System.Threading.CancellationToken that is passed to the task-creator is cancelled when the runner is disposed, this can be usefull for cancelling external processes. Declaration public Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. StartTask(Func, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task StartTask(Func) Start a task on this runner. Declaration public Task StartTask(Func taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the runner gets disposed. Exceptions Type Condition TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. StartTask(Func, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task StartTask(Func, TIn) Declaration public Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func, TIn) Declaration public Task StartTask(Func taskCreator, TIn data) Parameters Type Name Description System.Func taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn StartTask(Func>) Declaration public Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < System.Threading.CancellationToken , System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>) Declaration public Task StartTask(Func> taskCreator) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, IDiagnosticLogger logger) Parameters Type Name Description System.Func < System.Threading.Tasks.Task > taskCreator IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TOut StartTask(Func>, TIn) Declaration public Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut StartTask(Func>, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func > taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut StartTask(Func>, TIn) Declaration public Task StartTask(Func> taskCreator, TIn data) Parameters Type Name Description System.Func > taskCreator TIn data Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut StartTask(Func>, TIn, IDiagnosticLogger) Declaration public Task StartTask(Func> taskCreator, TIn data, IDiagnosticLogger logger) Parameters Type Name Description System.Func > taskCreator TIn data IDiagnosticLogger logger Optional logger to output diagnostic messages to. Returns Type Description System.Threading.Tasks.Task Type Parameters Name Description TIn TOut Implements ITaskRunner System.IDisposable" + "api/ComponentTask.Exceptions.html": { + "href": "api/ComponentTask.Exceptions.html", + "title": "Namespace ComponentTask.Exceptions | ComponentTask", + "keywords": "Namespace ComponentTask.Exceptions Classes ComponentTaskCanceledException Exception that is attached to tasks returned from ITaskRunner when they are cancelled. ContextChangedException Exception that is thrown when the 'SynchronizationContext.Current' changes unexpectedly, most likely caused by code that sets 'SynchronizationContext.Current' but does not set it back to the previous. InactiveComponentException Exception that is thrown when attempting to execute a operation on a inactive component. InactiveGameObjectException Exception that is thrown when attempting to execute a operation on a inactive gameobject. NonUnityThreadException Exception that is thrown when an api that can only be called from the unity-thread is called from a different thread. NotPlayingException Exception that is thrown when an api that can only be called while 'Playing' is called in edit-mode. TaskCreatorReturnedNullException Exception that is thrown when a task-creator returns null." }, - "install.html": { - "href": "install.html", - "title": "Installation | ComponentTask", - "keywords": "Installation Add package Add a reference to this repository to your package dependencies ( Packages/manifest.json ) \"dependencies\": { \"com.bastianblokland.componenttask\": \"https://github.com/BastianBlokland/componenttask-unity.git#v1.8\", ... } Use the tag at the end to specify the version to use. Latest version: Avoid adding a git path without a tag as latest master is not guaranteed to be stable, also it will make package resolving non-deterministic as every time you resolve master it might be a different commit. Upgrading To update to a newer version simply open your package manifest ( Packages/manifest.json ) and set the tag at the end of the git url (for example v1.8 ) to a later version." + "api/ComponentTask.Exceptions.NonUnityThreadException.html": { + "href": "api/ComponentTask.Exceptions.NonUnityThreadException.html", + "title": "Class NonUnityThreadException | ComponentTask", + "keywords": "Class NonUnityThreadException Exception that is thrown when an api that can only be called from the unity-thread is called from a different thread. Inheritance System.Object System.Exception System.SystemException System.InvalidOperationException NonUnityThreadException Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception Inherited Members System.Exception.GetBaseException() System.Exception.ToString() System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) System.Exception.GetType() System.Exception.Message System.Exception.Data System.Exception.InnerException System.Exception.TargetSite System.Exception.StackTrace System.Exception.HelpLink System.Exception.Source System.Exception.HResult System.Exception.SerializeObjectState System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.MemberwiseClone() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : ComponentTask.Exceptions Assembly : cs.temp.dll.dll Syntax public sealed class NonUnityThreadException : InvalidOperationException, ISerializable, _Exception Implements System.Runtime.Serialization.ISerializable System.Runtime.InteropServices._Exception" }, - "index.html": { - "href": "index.html", - "title": "ComponentTask-Unity | ComponentTask", - "keywords": "ComponentTask-Unity Unity package for running dotnet Task and Task scoped to Unity components. Description Common problem with using c# async methods in Unity is that they have no concept of a component life-time. So unlike Coroutines when you 'start' a task and then destroy the component (by loading a new scene for example) the task does not stop. Most of the time leading to UnityEngine.MissingReferenceException when you try to access members of the component after it has been destroyed on the Unity side. And as a workaround you have to write ugly ' if (!this) return; ' guards after every await. This library aims to fix that problem by allowing you to run tasks 'on' your MonoBehaviour with very similar behaviour as Unity's Coroutines . Documentation Install How To Examples Api Reference Repository CI Basic Azure pipeline for running tests: Pipeline ." + "api/UnityEngine.ComponentExtensions.html": { + "href": "api/UnityEngine.ComponentExtensions.html", + "title": "Class ComponentExtensions | ComponentTask", + "keywords": "Class ComponentExtensions Extensions for 'UnityEngine.Component'. Inheritance System.Object ComponentExtensions Inherited Members System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone() System.Object.ToString() System.Object.ReferenceEquals(System.Object, System.Object) Namespace : UnityEngine Assembly : cs.temp.dll.dll Syntax public static class ComponentExtensions Methods GetTaskRunner(Component, TaskRunOptions) Get a for the given component. Declaration public static ITaskRunner GetTaskRunner(this Component component, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to get the runner for. TaskRunOptions options Options for configuring how tasks are run on this runner. Returns Type Description ITaskRunner scoped to the given component. Remarks If a existing runner exists for the component then that is returned, otherwise a new runner is created. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. StartTask(Component, Func, TaskRunOptions) Start a task scoped to the given component. that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func, TIn, TaskRunOptions) Start a task scoped to the given component. that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func, TIn, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TaskRunOptions) Start a task scoped to the given component. that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func> taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < CancellationToken , System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func> taskCreator, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func < System.Threading.Tasks.Task > taskCreator Function for creating the task. TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TIn, TaskRunOptions) Start a task scoped to the given component. that is passed to the task-creator is cancelled when the component gets destroyed, this can be usefull for cancelling external processes. Declaration public static Task StartTask(this Component component, Func> taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func > taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag. StartTask(Component, Func>, TIn, TaskRunOptions) Start a task scoped to the given component. Declaration public static Task StartTask(this Component component, Func> taskCreator, TIn data, TaskRunOptions options = TaskRunOptions.Default) Parameters Type Name Description Component component Component to run the task 'on'. System.Func > taskCreator Function for creating the task. TIn data TaskRunOptions options Options for configuring how the task is run. Returns Type Description System.Threading.Tasks.Task Task that completes when the original task completes or when the component gets destroyed. Type Parameters Name Description TIn TOut Remarks The task will run 'on' the component, meaning that the task gets paused when the component is disabled and the task will get cancelled when the component is destroyed. Can only be called from the unity-thread in play-mode. Exceptions Type Condition NotPlayingException Thrown when called in edit-mode. NonUnityThreadException Thrown when called from a non-unity thread. TaskCreatorReturnedNullException Thrown when null is returned from the 'taskCreator'. ComponentTaskCanceledException Thrown when awaiting a component-task that gets cancelled. Can happen if you are awaiting a component that gets destroyed. InactiveGameObjectException Thrown when attempting to start a task on a disabled gameobject. InactiveComponentException Thrown when attempting to start a task on a disabled component. Does not happen when giving UpdateWhileComponentDisabled flag." } } \ No newline at end of file diff --git a/docs/install.html b/docs/install.html index ca9ed41..a77999b 100644 --- a/docs/install.html +++ b/docs/install.html @@ -8,7 +8,7 @@ Installation | ComponentTask - + @@ -87,7 +87,7 @@

Add package

commit.

Upgrading

To update to a newer version simply open your package manifest (Packages/manifest.json) and set -the tag at the end of the git url (for example v1.8) to a later version.

+the tag at the end of the git url (for example v1.8.1) to a later version.

diff --git a/docs/manifest.json b/docs/manifest.json index 22cba59..2625916 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -18,7 +18,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Config.html", - "hash": "WgR6RuI3c1ilG5wi1Ut39Q==" + "hash": "LKi/fXL93FUOHI5fHfEJUw==" } }, "is_incremental": false, @@ -30,7 +30,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.ComponentTaskCanceledException.html", - "hash": "psbv/gn1coXTybMZMDE2Tw==" + "hash": "Xa1y07mB8ITZgEoBKWunkA==" } }, "is_incremental": false, @@ -42,7 +42,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.ContextChangedException.html", - "hash": "Bt4vQy771Vi5aFw6dyTmhQ==" + "hash": "ahHtNWQtLq0A5p6yIpHedg==" } }, "is_incremental": false, @@ -54,7 +54,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.InactiveComponentException.html", - "hash": "OiFh0Rk5D8cZrzLGfCWXbg==" + "hash": "LKWBv29I9hR4K+I+cIZBlw==" } }, "is_incremental": false, @@ -66,7 +66,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.InactiveGameObjectException.html", - "hash": "7zPvJa2TLeU0r/oXS/r4vw==" + "hash": "FmAsIQGkgtwtzoqXQql+UQ==" } }, "is_incremental": false, @@ -78,7 +78,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.NonUnityThreadException.html", - "hash": "BRJMb9DbEY9v5CVzDau0yg==" + "hash": "t19Rv9vyLULv/3muPiZmdw==" } }, "is_incremental": false, @@ -90,7 +90,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.NotPlayingException.html", - "hash": "K27UeAAFtmM++QTVseK1Tw==" + "hash": "vyT2dO0yPcmoEtc7oO+77A==" } }, "is_incremental": false, @@ -102,7 +102,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.TaskCreatorReturnedNullException.html", - "hash": "szu6fSiVlfxFhddEUN0IFA==" + "hash": "v9OTQ1CRyDLNsTGAmPbMCg==" } }, "is_incremental": false, @@ -114,7 +114,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.Exceptions.html", - "hash": "e6R7iwPi9KWibgLr/WiMxg==" + "hash": "ZZbt21zxukLtYtOIIUX6LA==" } }, "is_incremental": false, @@ -126,7 +126,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.IDiagnosticLogger.html", - "hash": "YpXijhYm4li4OSgN1DnDYQ==" + "hash": "eaTk+HuboW58Q1RyN4UEwA==" } }, "is_incremental": false, @@ -138,7 +138,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.IExceptionHandler.html", - "hash": "KmOd4droqAoSPrydUPU8Sg==" + "hash": "nzF8EBq6suCEOybdVJzJQQ==" } }, "is_incremental": false, @@ -150,7 +150,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.ITaskRunner.html", - "hash": "ILDUS7Tz4rOaDaQK43HY/A==" + "hash": "YGWyUMShRHIKl2gQyFNoxg==" } }, "is_incremental": false, @@ -162,7 +162,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.LocalTaskRunner.html", - "hash": "zBVzR+TJPKmoEPTpY1mC7Q==" + "hash": "M8b5/O3pGqNArPa2iTg8uw==" } }, "is_incremental": false, @@ -174,7 +174,7 @@ "output": { ".html": { "relative_path": "api/ComponentTask.html", - "hash": "pOCRBzpgyaVaMVMAycoMhQ==" + "hash": "PDet/H4PSxfg4GM4rCX2Ng==" } }, "is_incremental": false, @@ -186,7 +186,7 @@ "output": { ".html": { "relative_path": "api/UnityEngine.ComponentExtensions.html", - "hash": "F5ywm7khJoS/RpClZ93pNQ==" + "hash": "xVxJiiNan7xK570m6PQbgg==" } }, "is_incremental": false, @@ -198,7 +198,7 @@ "output": { ".html": { "relative_path": "api/UnityEngine.GameObjectExtensions.html", - "hash": "756BNTaoI9YV0YBzpHwOTQ==" + "hash": "fImKz/9ivn2D4Qd48E2/sg==" } }, "is_incremental": false, @@ -210,7 +210,7 @@ "output": { ".html": { "relative_path": "api/UnityEngine.TaskExtensions.html", - "hash": "A1+QQGa32C5mkhzet9m6XA==" + "hash": "ZCS+jvhodk3Wm1c4MpEfew==" } }, "is_incremental": false, @@ -222,7 +222,7 @@ "output": { ".html": { "relative_path": "api/UnityEngine.TaskRunOptions.html", - "hash": "hKmFnXzZ2PJTduPy16X4aw==" + "hash": "S7MzZzwYHBFJ65Fr3AtE9g==" } }, "is_incremental": false, @@ -234,7 +234,7 @@ "output": { ".html": { "relative_path": "api/UnityEngine.html", - "hash": "izLnl8ZnuSSXxrrQDlODtw==" + "hash": "gY/m5pXmPa5pKKCSqQOjFg==" } }, "is_incremental": false, @@ -249,7 +249,7 @@ "output": { ".html": { "relative_path": "api/index.html", - "hash": "r3ENm/juunYnPr0ySM63/A==" + "hash": "RJMlCgTDRdQ/c5yo0kQTVw==" } }, "is_incremental": false, @@ -273,7 +273,7 @@ "output": { ".html": { "relative_path": "examples.html", - "hash": "+Yeoo/BzA4cegOcOSc+sZQ==" + "hash": "urzL49nTzItxfUDH53XUYQ==" } }, "is_incremental": false, @@ -285,7 +285,7 @@ "output": { ".html": { "relative_path": "how-to.html", - "hash": "kk94L/GhBMDBb2sJhDGW9A==" + "hash": "DfkCL5cnS5kJJS/NgGNlNw==" } }, "is_incremental": false, @@ -297,7 +297,7 @@ "output": { ".html": { "relative_path": "index.html", - "hash": "qU/RYpmesg4W08ebr7K+IA==" + "hash": "57q0trhUX+h1DXt5zG+L7A==" } }, "is_incremental": false, @@ -309,7 +309,7 @@ "output": { ".html": { "relative_path": "install.html", - "hash": "AkyZ3ZbHa8m4BX6Yenqpew==" + "hash": "fz+ysIDc01d3ISaAiSs/Vw==" } }, "is_incremental": false, @@ -331,10 +331,12 @@ "incremental_info": [ { "status": { - "can_incremental": true, + "can_incremental": false, + "details": "Cannot build incrementally because docfx version changed from 2.43.3.0 to 2.44.0.0.", "incrementalPhase": "build", "total_file_count": 0, - "skipped_file_count": 0 + "skipped_file_count": 0, + "full_build_reason_code": "DocfxVersionChanged" }, "processors": { "TocDocumentProcessor": { @@ -345,16 +347,16 @@ "skipped_file_count": 0 }, "ManagedReferenceDocumentProcessor": { - "can_incremental": true, + "can_incremental": false, "incrementalPhase": "build", "total_file_count": 19, - "skipped_file_count": 19 + "skipped_file_count": 0 }, "ConceptualDocumentProcessor": { - "can_incremental": true, + "can_incremental": false, "incrementalPhase": "build", "total_file_count": 5, - "skipped_file_count": 4 + "skipped_file_count": 0 } } }, diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml index 0afbe80..1ed56d7 100644 --- a/docs/xrefmap.yml +++ b/docs/xrefmap.yml @@ -118,13 +118,13 @@ references: commentId: T:ComponentTask.ITaskRunner fullName: ComponentTask.ITaskRunner nameWithType: ITaskRunner -- uid: ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) +- uid: ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) name: StartTask(Func) - href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task__ - commentId: M:ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) + href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask_System_Func_CancellationToken_System_Threading_Tasks_Task__ + commentId: M:ComponentTask.ITaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) name.vb: StartTask(Func(Of CancellationToken, Task)) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func) - fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task)) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func) + fullName.vb: ComponentTask.ITaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task)) nameWithType: ITaskRunner.StartTask(Func) nameWithType.vb: ITaskRunner.StartTask(Func(Of CancellationToken, Task)) - uid: ComponentTask.ITaskRunner.StartTask(System.Func{System.Threading.Tasks.Task}) @@ -143,13 +143,13 @@ references: isSpec: "True" fullName: ComponentTask.ITaskRunner.StartTask nameWithType: ITaskRunner.StartTask -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask(Func, TIn) - href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask__1_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task____0_ - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask__1_System_Func___0_CancellationToken_System_Threading_Tasks_Task____0_ + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func, TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn) nameWithType: ITaskRunner.StartTask(Func, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) @@ -161,13 +161,13 @@ references: fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.Tasks.Task), TIn) nameWithType: ITaskRunner.StartTask(Func, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn)(Func(Of TIn, Task), TIn) -- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) +- uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask(Func>) - href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask__1_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task___0___ - commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask__1_System_Func_CancellationToken_System_Threading_Tasks_Task___0___ + commentId: M:ComponentTask.ITaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut))) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut))) nameWithType: ITaskRunner.StartTask(Func>) nameWithType.vb: ITaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - uid: ComponentTask.ITaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) @@ -179,13 +179,13 @@ references: fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.Tasks.Task(Of TOut))) nameWithType: ITaskRunner.StartTask(Func>) nameWithType.vb: ITaskRunner.StartTask(Of TOut)(Func(Of Task(Of TOut))) -- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) +- uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask(Func>, TIn) - href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask__2_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task___1_____0_ - commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + href: api/ComponentTask.ITaskRunner.html#ComponentTask_ITaskRunner_StartTask__2_System_Func___0_CancellationToken_System_Threading_Tasks_Task___1_____0_ + commentId: M:ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) - fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) - fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) + fullName: ComponentTask.ITaskRunner.StartTask(System.Func>, TIn) + fullName.vb: ComponentTask.ITaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) nameWithType: ITaskRunner.StartTask(Func>, TIn) nameWithType.vb: ITaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) - uid: ComponentTask.ITaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) @@ -255,22 +255,22 @@ references: isSpec: "True" fullName: ComponentTask.LocalTaskRunner.Execute nameWithType: LocalTaskRunner.Execute -- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) +- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) name: StartTask(Func) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task__ - commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task}) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask_System_Func_CancellationToken_System_Threading_Tasks_Task__ + commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task}) name.vb: StartTask(Func(Of CancellationToken, Task)) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task)) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task)) nameWithType: LocalTaskRunner.StartTask(Func) nameWithType.vb: LocalTaskRunner.StartTask(Func(Of CancellationToken, Task)) -- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) name: StartTask(Func, IDiagnosticLogger) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task__ComponentTask_IDiagnosticLogger_ - commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask_System_Func_CancellationToken_System_Threading_Tasks_Task__ComponentTask_IDiagnosticLogger_ + commentId: M:ComponentTask.LocalTaskRunner.StartTask(System.Func{CancellationToken,System.Threading.Tasks.Task},ComponentTask.IDiagnosticLogger) name.vb: StartTask(Func(Of CancellationToken, Task), IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, ComponentTask.IDiagnosticLogger) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task), ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(System.Func(Of CancellationToken, System.Threading.Tasks.Task), ComponentTask.IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func, IDiagnosticLogger) nameWithType.vb: LocalTaskRunner.StartTask(Func(Of CancellationToken, Task), IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask(System.Func{System.Threading.Tasks.Task}) @@ -298,22 +298,22 @@ references: isSpec: "True" fullName: ComponentTask.LocalTaskRunner.StartTask nameWithType: LocalTaskRunner.StartTask -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name: StartTask(Func, TIn) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task____0_ - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func___0_CancellationToken_System_Threading_Tasks_Task____0_ + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn) nameWithType: LocalTaskRunner.StartTask(Func, TIn) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) name: StartTask(Func, TIn, IDiagnosticLogger) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task____0_ComponentTask_IDiagnosticLogger_ - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func___0_CancellationToken_System_Threading_Tasks_Task____0_ComponentTask_IDiagnosticLogger_ + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn, IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn, ComponentTask.IDiagnosticLogger) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn, ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func, TIn, ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn, ComponentTask.IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func, TIn, IDiagnosticLogger) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn)(Func(Of TIn, CancellationToken, Task), TIn, IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{``0,System.Threading.Tasks.Task},``0) @@ -334,22 +334,22 @@ references: fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn)(System.Func(Of TIn, System.Threading.Tasks.Task), TIn, ComponentTask.IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func, TIn, IDiagnosticLogger) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn)(Func(Of TIn, Task), TIn, IDiagnosticLogger) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name: StartTask(Func>) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task___0___ - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}}) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func_CancellationToken_System_Threading_Tasks_Task___0___ + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}}) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut))) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut))) nameWithType: LocalTaskRunner.StartTask(Func>) nameWithType.vb: LocalTaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut))) -- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) name: StartTask(Func>, IDiagnosticLogger) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task___0___ComponentTask_IDiagnosticLogger_ - commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__1_System_Func_CancellationToken_System_Threading_Tasks_Task___0___ComponentTask_IDiagnosticLogger_ + commentId: M:ComponentTask.LocalTaskRunner.StartTask``1(System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut)), IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, ComponentTask.IDiagnosticLogger) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)), ComponentTask.IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func>, IDiagnosticLogger) nameWithType.vb: LocalTaskRunner.StartTask(Of TOut)(Func(Of CancellationToken, Task(Of TOut)), IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask``1(System.Func{System.Threading.Tasks.Task{``0}}) @@ -370,22 +370,22 @@ references: fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TOut)(System.Func(Of System.Threading.Tasks.Task(Of TOut)), ComponentTask.IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func>, IDiagnosticLogger) nameWithType.vb: LocalTaskRunner.StartTask(Of TOut)(Func(Of Task(Of TOut)), IDiagnosticLogger) -- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) +- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name: StartTask(Func>, TIn) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__2_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task___1_____0_ - commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__2_System_Func___0_CancellationToken_System_Threading_Tasks_Task___1_____0_ + commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn) nameWithType: LocalTaskRunner.StartTask(Func>, TIn) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn) -- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) +- uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) name: StartTask(Func>, TIn, IDiagnosticLogger) - href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__2_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task___1_____0_ComponentTask_IDiagnosticLogger_ - commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) + href: api/ComponentTask.LocalTaskRunner.html#ComponentTask_LocalTaskRunner_StartTask__2_System_Func___0_CancellationToken_System_Threading_Tasks_Task___1_____0_ComponentTask_IDiagnosticLogger_ + commentId: M:ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,ComponentTask.IDiagnosticLogger) name.vb: StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn, IDiagnosticLogger) - fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn, ComponentTask.IDiagnosticLogger) - fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, ComponentTask.IDiagnosticLogger) + fullName: ComponentTask.LocalTaskRunner.StartTask(System.Func>, TIn, ComponentTask.IDiagnosticLogger) + fullName.vb: ComponentTask.LocalTaskRunner.StartTask(Of TIn, TOut)(System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, ComponentTask.IDiagnosticLogger) nameWithType: LocalTaskRunner.StartTask(Func>, TIn, IDiagnosticLogger) nameWithType.vb: LocalTaskRunner.StartTask(Of TIn, TOut)(Func(Of TIn, CancellationToken, Task(Of TOut)), TIn, IDiagnosticLogger) - uid: ComponentTask.LocalTaskRunner.StartTask``2(System.Func{``0,System.Threading.Tasks.Task{``1}},``0) @@ -431,13 +431,13 @@ references: isSpec: "True" fullName: UnityEngine.ComponentExtensions.GetTaskRunner nameWithType: ComponentExtensions.GetTaskRunner -- uid: UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) name: StartTask(Component, Func, TaskRunOptions) - href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask_Component_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task__UnityEngine_TaskRunOptions_ - commentId: M:UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) + href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask_Component_System_Func_CancellationToken_System_Threading_Tasks_Task__UnityEngine_TaskRunOptions_ + commentId: M:UnityEngine.ComponentExtensions.StartTask(Component,System.Func{CancellationToken,System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) name.vb: StartTask(Component, Func(Of CancellationToken, Task), TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, UnityEngine.TaskRunOptions) - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Component, System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task), UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Component, System.Func(Of CancellationToken, System.Threading.Tasks.Task), UnityEngine.TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func, TaskRunOptions) nameWithType.vb: ComponentExtensions.StartTask(Component, Func(Of CancellationToken, Task), TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask(Component,System.Func{System.Threading.Tasks.Task},UnityEngine.TaskRunOptions) @@ -456,13 +456,13 @@ references: isSpec: "True" fullName: UnityEngine.ComponentExtensions.StartTask nameWithType: ComponentExtensions.StartTask -- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) name: StartTask(Component, Func, TIn, TaskRunOptions) - href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask__1_Component_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task____0_UnityEngine_TaskRunOptions_ - commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) + href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask__1_Component_System_Func___0_CancellationToken_System_Threading_Tasks_Task____0_UnityEngine_TaskRunOptions_ + commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) name.vb: StartTask(Of TIn)(Component, Func(Of TIn, CancellationToken, Task), TIn, TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, TIn, UnityEngine.TaskRunOptions) - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn)(Component, System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task), TIn, UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func, TIn, UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn)(Component, System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task), TIn, UnityEngine.TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func, TIn, TaskRunOptions) nameWithType.vb: ComponentExtensions.StartTask(Of TIn)(Component, Func(Of TIn, CancellationToken, Task), TIn, TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{``0,System.Threading.Tasks.Task},``0,UnityEngine.TaskRunOptions) @@ -474,13 +474,13 @@ references: fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn)(Component, System.Func(Of TIn, System.Threading.Tasks.Task), TIn, UnityEngine.TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func, TIn, TaskRunOptions) nameWithType.vb: ComponentExtensions.StartTask(Of TIn)(Component, Func(Of TIn, Task), TIn, TaskRunOptions) -- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) name: StartTask(Component, Func>, TaskRunOptions) - href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask__1_Component_System_Func_System_Threading_CancellationToken_System_Threading_Tasks_Task___0___UnityEngine_TaskRunOptions_ - commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) + href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask__1_Component_System_Func_CancellationToken_System_Threading_Tasks_Task___0___UnityEngine_TaskRunOptions_ + commentId: M:UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{CancellationToken,System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) name.vb: StartTask(Of TOut)(Component, Func(Of CancellationToken, Task(Of TOut)), TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, UnityEngine.TaskRunOptions) - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TOut)(Component, System.Func(Of System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TOut)(Component, System.Func(Of CancellationToken, System.Threading.Tasks.Task(Of TOut)), UnityEngine.TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func>, TaskRunOptions) nameWithType.vb: ComponentExtensions.StartTask(Of TOut)(Component, Func(Of CancellationToken, Task(Of TOut)), TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask``1(Component,System.Func{System.Threading.Tasks.Task{``0}},UnityEngine.TaskRunOptions) @@ -492,13 +492,13 @@ references: fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TOut)(Component, System.Func(Of System.Threading.Tasks.Task(Of TOut)), UnityEngine.TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func>, TaskRunOptions) nameWithType.vb: ComponentExtensions.StartTask(Of TOut)(Component, Func(Of Task(Of TOut)), TaskRunOptions) -- uid: UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) +- uid: UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) name: StartTask(Component, Func>, TIn, TaskRunOptions) - href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask__2_Component_System_Func___0_System_Threading_CancellationToken_System_Threading_Tasks_Task___1_____0_UnityEngine_TaskRunOptions_ - commentId: M:UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) + href: api/UnityEngine.ComponentExtensions.html#UnityEngine_ComponentExtensions_StartTask__2_Component_System_Func___0_CancellationToken_System_Threading_Tasks_Task___1_____0_UnityEngine_TaskRunOptions_ + commentId: M:UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,CancellationToken,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions) name.vb: StartTask(Of TIn, TOut)(Component, Func(Of TIn, CancellationToken, Task(Of TOut)), TIn, TaskRunOptions) - fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, TIn, UnityEngine.TaskRunOptions) - fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn, TOut)(Component, System.Func(Of TIn, System.Threading.CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, UnityEngine.TaskRunOptions) + fullName: UnityEngine.ComponentExtensions.StartTask(Component, System.Func>, TIn, UnityEngine.TaskRunOptions) + fullName.vb: UnityEngine.ComponentExtensions.StartTask(Of TIn, TOut)(Component, System.Func(Of TIn, CancellationToken, System.Threading.Tasks.Task(Of TOut)), TIn, UnityEngine.TaskRunOptions) nameWithType: ComponentExtensions.StartTask(Component, Func>, TIn, TaskRunOptions) nameWithType.vb: ComponentExtensions.StartTask(Of TIn, TOut)(Component, Func(Of TIn, CancellationToken, Task(Of TOut)), TIn, TaskRunOptions) - uid: UnityEngine.ComponentExtensions.StartTask``2(Component,System.Func{``0,System.Threading.Tasks.Task{``1}},``0,UnityEngine.TaskRunOptions)