Umi — API References - v1.3.0
    Preparing search index...

    Class Task<T, I>

    Type Parameters

    • T
    • I extends any[] = []
    Index

    Constructors

    • Type Parameters

      • T
      • I extends any[] = []

      Parameters

      Returns Task<T, I>

    Methods

    • Returns Task<any, any[]>[]

    • Type Parameters

      • C extends object = object

      Returns C

    • Returns Task<any, any[]>[]

    • Returns unknown

    • Returns undefined | T

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Parameters

      • preloadedResult: T

      Returns Task<T, I>

    • Parameters

      • callback: () => unknown

      Returns Task<T, I>

    • Parameters

      • callback: () => unknown

      Returns Task<T, I>

    • Parameters

      Returns Task<T, I>

    • Parameters

      Returns Task<T, I>

    • Parameters

      • callback: () => unknown

      Returns Task<T, I>

    • Returns Task<T, I>

    • Parameters

      Returns Promise<T>

    • Parameters

      • children: Task<any, any[]>[]

      Returns Task<T, I>

    • Parameters

      • context: object

      Returns Task<T, I>