Pacote
    Preparing search index...

    Type Alias Task<T>

    Task: () => Promise<T>

    Creates a new task that asynchronously resolves to the provided result.

    Type Parameters

    • T

    Type declaration

      • (): Promise<T>
      • Returns Promise<T>

        A new task that resolves to the provided result.