docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Start

    Start(Func<AsyncRequest<T>, Result>, ExecutionContext)

    Queues a callback that needs to be executed in the given execution context, and starts the request.

    Declaration
    [Obsolete("Start(Func<...>, ExecutionContext) is deprecated. Use Enqueue(Func<...>) + Execute(ExecutionContext) instead.")]
    public void Start(Func<AsyncRequest<T>, AsyncRequest.Result> functor = null, AsyncRequest.ExecutionContext executionContext = ExecutionContext.None)
    Parameters
    Type Name Description
    Func<AsyncRequest<T>, AsyncRequest.Result> functor

    A callback that needs to be invoked

    AsyncRequest.ExecutionContext executionContext

    Execution context in which the functor needs to be invoked. viz. Threadpool, EnoOfFrame or Immediate, etc.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)