docs.unity3d.com
    Show / Hide Table of Contents

    Class IOComponent

    Inheritance
    Object
    IOComponent
    Namespace: Unity.Reflect.Actor
    Syntax
    public class IOComponent : IAsyncComponent, IRunnableComponent

    Methods

    StartJob<TState, TContext, TUserContext, TResult>(TState, TContext, TUserContext, Func<TState, TContext, TUserContext, Task<TResult>>)

    Declaration
    public IOComponent.IOJob<TState, TContext, TUserContext, TResult> StartJob<TState, TContext, TUserContext, TResult>(TState state, TContext context, TUserContext userContext, Func<TState, TContext, TUserContext, Task<TResult>> func)
        where TState : class where TContext : class where TUserContext : class where TResult : class
    Parameters
    Type Name Description
    TState state
    TContext context
    TUserContext userContext
    Func<TState, TContext, TUserContext, Task<TResult>> func
    Returns
    Type Description
    IOComponent.IOJob<TState, TContext, TUserContext, TResult>
    Type Parameters
    Name Description
    TState
    TContext
    TUserContext
    TResult

    Tick(TimeSpan, CancellationToken)

    Declaration
    public bool Tick(TimeSpan endTime, CancellationToken token)
    Parameters
    Type Name Description
    TimeSpan endTime
    CancellationToken token
    Returns
    Type Description
    Boolean
    Implements
    IRunnableComponent.Tick(TimeSpan, CancellationToken)

    WaitAsync(CancellationToken)

    Declaration
    public Task WaitAsync(CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    Task
    Implements
    IAsyncComponent.WaitAsync(CancellationToken)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023