docs.unity3d.com
    Show / Hide Table of Contents

    Class MainThreadIODispatcherActor

    Inheritance
    Object
    MainThreadIODispatcherActor
    Namespace: Unity.Reflect.Actors
    Syntax
    [Actor("ee4c4feb-a535-4f2c-84a8-b6b21a180850", true, true, null, null)]
    public class MainThreadIODispatcherActor

    Constructors

    MainThreadIODispatcherActor(ActorHandle, Scheduler, CancellationToken)

    Declaration
    public MainThreadIODispatcherActor(ActorHandle self, Scheduler scheduler, CancellationToken token)
    Parameters
    Type Name Description
    ActorHandle self
    Scheduler scheduler
    CancellationToken token

    Methods

    Initialize()

    Declaration
    public void Initialize()

    Run<T>(Action<Action<T>>)

    Declaration
    public Task<T> Run<T>(Action<Action<T>> func)
        where T : class
    Parameters
    Type Name Description
    Action<Action<T>> func
    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T

    Shutdown()

    Declaration
    public void Shutdown()

    Tick(TimeSpan)

    Declaration
    public TickResult Tick(TimeSpan _)
    Parameters
    Type Name Description
    TimeSpan _
    Returns
    Type Description
    TickResult
    Back to top
    Terms of use
    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