프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CancelContinuation | void | ||
CheckTimeout | int | ||
DelayCoroutine | IEnumerator | ||
Execute | |||
FaultContinuation | void | ||
FinishCompletion | void | ||
Stop | |||
WhenAllFibersCoroutine | IEnumerator | ||
WhenAllTasksCoroutine | IEnumerator | ||
WhenAnyFibersCoroutine | IEnumerator | ||
WhenAnyTasksCoroutine | IEnumerator |
메소드 | 설명 | |
---|---|---|
ContinueWith ( object>.Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( object>.Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( object>.Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( object>.Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( object>.Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( Action |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( IEnumerator continuationCoroutine ) : |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( IEnumerator continuationCoroutine, |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( IEnumerator continuationCoroutine, |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( IEnumerator continuationCoroutine, FiberContinuationOptions continuationOptions ) : |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
ContinueWith ( IEnumerator continuationCoroutine, |
Creates a continuation that executes asynchronously when the target fiber completes.
|
|
Delay ( System.TimeSpan delay ) : |
Crates a Fiber that waits for a delay before completing.
|
|
Delay ( System.TimeSpan delay, |
Crates a Fiber that waits for a delay before completing.
|
|
Delay ( int millisecondsDelay ) : |
Crates a Fiber that waits for a delay before completing.
|
|
Delay ( int millisecondsDelay, |
Crates a Fiber that waits for a delay before completing.
|
|
Delay ( int millisecondsDelay, |
Crates a Fiber that waits for a delay before completing.
|
|
Fiber ( System.Action action ) : System |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( System.Action action, |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( Action |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( Action |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( Func |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( Func |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( FiberInstruction>.Func |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( FiberInstruction>.Func |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( IEnumerator coroutine ) : System |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Fiber ( IEnumerator coroutine, |
Initializes a new instance of the SpicyPixel.Threading.Fiber class.
|
|
Start ( ) : void |
Start executing the fiber using the default scheduler on the thread.
|
|
Start ( |
Start executing the fiber using the specified scheduler. This method is safe to call from any thread even if different than the scheduler execution thread. |
|
ThrowIfCanceled ( ) : void |
Throws if canceled.
|
|
ThrowIfCanceledOrFaulted ( ) : void |
Throws if canceled or faulted.
|
|
ThrowIfFaulted ( ) : void |
Throws if faulted.
|
|
WhenAll ( ) : |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( IEnumerable |
Returns a fiber that waits on all fibers to complete. `Fiber.ResultAsObject` will be `true` if all fibers complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( IEnumerable |
Returns a fiber that waits on all tasks to complete. `Fiber.ResultAsObject` will be `true` if all tasks complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( System.Threading.Task tasks, |
Returns a fiber that waits on all tasks to complete. `Fiber.ResultAsObject` will be `true` if all tasks complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( System.Threading.Task tasks, System.TimeSpan timeout ) : |
Returns a fiber that waits on all tasks to complete. `Fiber.ResultAsObject` will be `true` if all tasks complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( System.Threading.Task tasks, int millisecondsTimeout ) : |
Returns a fiber that waits on all tasks to complete. `Fiber.ResultAsObject` will be `true` if all tasks complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( System.Threading.Task tasks, int millisecondsTimeout, |
Returns a fiber that waits on all tasks to complete. `Fiber.ResultAsObject` will be `true` if all tasks complete successfully or `false` if cancelled or timeout. |
|
WhenAll ( System.Threading.Task tasks, int millisecondsTimeout, |
Returns a fiber that waits on all tasks to complete. `Fiber.ResultAsObject` will be `true` if all tasks complete successfully or `false` if cancelled or timeout. |
|
WhenAny ( ) : |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( IEnumerable |
Returns a fiber that completes when any fiber finishes. `Fiber.ResultAsObject` will be the `Fiber` that completed. |
|
WhenAny ( IEnumerable |
Returns a fiber that completes when any task finishes. `Fiber.ResultAsObject` will be the `Task` that completed. |
|
WhenAny ( System.Threading.Task tasks, |
Returns a fiber that completes when any task finishes. `Fiber.ResultAsObject` will be the `Task` that completed. |
|
WhenAny ( System.Threading.Task tasks, System.TimeSpan timeout ) : |
Returns a fiber that completes when any task finishes. `Fiber.ResultAsObject` will be the `Task` that completed. |
|
WhenAny ( System.Threading.Task tasks, int millisecondsTimeout ) : |
Returns a fiber that completes when any task finishes. `Fiber.ResultAsObject` will be the `Task` that completed. |
|
WhenAny ( System.Threading.Task tasks, int millisecondsTimeout, |
Returns a fiber that completes when any task finishes. `Fiber.ResultAsObject` will be the `Task` that completed. |
|
WhenAny ( System.Threading.Task tasks, int millisecondsTimeout, |
Returns a fiber that completes when any task finishes. `Fiber.ResultAsObject` will be the `Task` that completed. |
메소드 | 설명 | |
---|---|---|
CancelContinuation ( ) : void |
Called by a continuation to cancel the task and trigger other continuations.
|
|
CheckTimeout ( System.TimeSpan timeout ) : int | ||
DelayCoroutine ( int millisecondsDelay, |
||
Execute ( ) : |
Executes the fiber until it ends or yields.
|
|
FaultContinuation ( |
Faults the continuation.
|
|
FinishCompletion ( ) : void |
Run to finish transitioning to Completed by execution continuations.
|
|
Stop ( FiberStatus finalStatus ) : |
||
WhenAllFibersCoroutine ( IEnumerable |
||
WhenAllTasksCoroutine ( IEnumerable |
||
WhenAnyFibersCoroutine ( IEnumerable |
||
WhenAnyTasksCoroutine ( IEnumerable |
public ContinueWith ( object>.Action |
||
continuationAction | object>.Action | Continuation action. |
state | object | State. |
리턴 |
public ContinueWith ( object>.Action |
||
continuationAction | object>.Action | Continuation action. |
state | object | State. |
cancellationToken | Cancellation token. | |
리턴 |
public ContinueWith ( object>.Action |
||
continuationAction | object>.Action | Continuation action. |
state | object | State. |
cancellationToken | Cancellation token. | |
continuationOptions | FiberContinuationOptions | Continuation options. |
scheduler | Scheduler. | |
리턴 |
public ContinueWith ( object>.Action |
||
continuationAction | object>.Action | Continuation action. |
state | object | State. |
continuationOptions | FiberContinuationOptions | Continuation options. |
리턴 |
public ContinueWith ( object>.Action |
||
continuationAction | object>.Action | Continuation action. |
state | object | State. |
scheduler | Scheduler. | |
리턴 |
public ContinueWith ( Action |
||
continuationAction | Action |
Continuation action. |
리턴 |
public ContinueWith ( Action |
||
continuationAction | Action |
Continuation action. |
cancellationToken | Cancellation token. | |
리턴 |
public ContinueWith ( Action |
||
continuationAction | Action |
Continuation action. |
cancellationToken | Cancellation token. | |
continuationOptions | FiberContinuationOptions | Continuation options. |
scheduler | Scheduler. | |
리턴 |
public ContinueWith ( Action |
||
continuationAction | Action |
Continuation action. |
continuationOptions | FiberContinuationOptions | Continuation options. |
리턴 |
public ContinueWith ( Action |
||
continuationAction | Action |
Continuation action. |
scheduler | Scheduler. | |
리턴 |
public ContinueWith ( IEnumerator continuationCoroutine ) : |
||
continuationCoroutine | IEnumerator | Continuation coroutine. |
리턴 |
public ContinueWith ( IEnumerator continuationCoroutine, |
||
continuationCoroutine | IEnumerator | Continuation coroutine. |
cancellationToken | Cancellation token. | |
리턴 |
public ContinueWith ( IEnumerator continuationCoroutine, |
||
continuationCoroutine | IEnumerator | Continuation coroutine. |
cancellationToken | Cancellation token. | |
continuationOptions | FiberContinuationOptions | Continuation options. |
scheduler | Scheduler. | |
리턴 |
public ContinueWith ( IEnumerator continuationCoroutine, FiberContinuationOptions continuationOptions ) : |
||
continuationCoroutine | IEnumerator | Continuation coroutine. |
continuationOptions | FiberContinuationOptions | Continuation options. |
리턴 |
public ContinueWith ( IEnumerator continuationCoroutine, |
||
continuationCoroutine | IEnumerator | Continuation coroutine. |
scheduler | Scheduler. | |
리턴 |
public static Delay ( System.TimeSpan delay ) : |
||
delay | System.TimeSpan | Time span to delay. |
리턴 |
public static Delay ( System.TimeSpan delay, |
||
delay | System.TimeSpan | Time span to delay. |
cancellationToken | Cancellation token. | |
리턴 |
public static Delay ( int millisecondsDelay ) : |
||
millisecondsDelay | int | Milliseconds to delay. |
리턴 |
public static Delay ( int millisecondsDelay, |
||
millisecondsDelay | int | Milliseconds to delay. |
cancellationToken | Cancellation token. | |
리턴 |
public static Delay ( int millisecondsDelay, |
||
millisecondsDelay | int | Milliseconds to delay. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public Fiber ( System.Action action ) : System | ||
action | System.Action | /// A non-blocking action to execute on the fiber. /// |
리턴 | System |
public Fiber ( System.Action action, |
||
action | System.Action | /// A non-blocking action to execute on the fiber. /// |
cancellationToken | Cancellation token. | |
리턴 | System |
public Fiber ( Action | ||
action | Action | /// A non-blocking action to execute on the fiber. /// |
state | object | /// State to pass to the action. /// |
리턴 | System |
public Fiber ( Action | ||
action | Action | /// A non-blocking action to execute on the fiber. /// |
state | object | /// State to pass to the action. /// |
cancellationToken | Cancellation token. | |
리턴 | System |
public Fiber ( Func |
||
func | Func |
/// A non-blocking function that returns a |
리턴 | System |
public Fiber ( Func |
||
func | Func |
/// A non-blocking function that returns a |
cancellationToken | Cancellation token. | |
리턴 | System |
public Fiber ( FiberInstruction>.Func | ||
func | FiberInstruction>.Func |
/// A non-blocking function that returns a |
state | object | /// State to pass to the function. /// |
리턴 | System |
public Fiber ( FiberInstruction>.Func | ||
func | FiberInstruction>.Func |
/// A non-blocking function that returns a |
state | object | /// State to pass to the function. /// |
cancellationToken | Cancellation token. | |
리턴 | System |
public Fiber ( IEnumerator coroutine ) : System | ||
coroutine | IEnumerator | /// A couroutine to execute on the fiber. /// |
리턴 | System |
public Fiber ( IEnumerator coroutine, |
||
coroutine | IEnumerator | /// A couroutine to execute on the fiber. /// |
cancellationToken | Cancellation token. | |
리턴 | System |
public Start ( |
||
scheduler | /// The scheduler to start the fiber on. /// | |
리턴 | void |
public static WhenAll ( |
||
fibers | Fibers to wait for completion. | |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAll ( |
||
fibers | Fibers to wait for completion. | |
timeout | System.TimeSpan | Timeout. |
리턴 |
public static WhenAll ( |
||
fibers | Fibers to wait for completion. | |
millisecondsTimeout | int | Milliseconds timeout. |
리턴 |
public static WhenAll ( |
||
fibers | Fibers to wait for completion. | |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAll ( |
||
fibers | Fibers to wait for completion. | |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAll ( IEnumerable |
||
fibers | IEnumerable |
Fibers to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAll ( IEnumerable |
||
tasks | IEnumerable |
Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAll ( System.Threading.Task tasks, |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAll ( System.Threading.Task tasks, System.TimeSpan timeout ) : |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
timeout | System.TimeSpan | Timeout. |
리턴 |
public static WhenAll ( System.Threading.Task tasks, int millisecondsTimeout ) : |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
리턴 |
public static WhenAll ( System.Threading.Task tasks, int millisecondsTimeout, |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAll ( System.Threading.Task tasks, int millisecondsTimeout, |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAny ( |
||
fibers | Fibers to wait for completion. | |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAny ( |
||
fibers | Fibers to wait for completion. | |
timeout | System.TimeSpan | Timeout. |
리턴 |
public static WhenAny ( |
||
fibers | Fibers to wait for completion. | |
millisecondsTimeout | int | Milliseconds timeout. |
리턴 |
public static WhenAny ( |
||
fibers | Fibers to wait for completion. | |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAny ( |
||
fibers | Fibers to wait for completion. | |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAny ( IEnumerable |
||
fibers | IEnumerable |
Fibers to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAny ( IEnumerable |
||
tasks | IEnumerable |
Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |
public static WhenAny ( System.Threading.Task tasks, |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAny ( System.Threading.Task tasks, System.TimeSpan timeout ) : |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
timeout | System.TimeSpan | Timeout. |
리턴 |
public static WhenAny ( System.Threading.Task tasks, int millisecondsTimeout ) : |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
리턴 |
public static WhenAny ( System.Threading.Task tasks, int millisecondsTimeout, |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
리턴 |
public static WhenAny ( System.Threading.Task tasks, int millisecondsTimeout, |
||
tasks | System.Threading.Task | Tasks to wait for completion. |
millisecondsTimeout | int | Milliseconds timeout. |
cancellationToken | Cancellation token. | |
scheduler | Scheduler. | |
리턴 |