phina.js.d.ts
    Preparing search index...

    Interface FlowStatic

    interface FlowStatic {
        new FlowStatic<T>(
            func: (resolve: (arg: T) => void, reject: () => void) => void,
            wait?: boolean,
        ): phina.util.Flow<T>;
        all<T>(flows: phina.util.Flow<T>[]): phina.util.Flow<T[]>;
        resolve(): phina.util.Flow<void>;
        resolve<T>(value: T): phina.util.Flow<T>;
        <T>(
            func: (resolve: (arg: T) => void, reject: () => void) => void,
            wait?: boolean,
        ): phina.util.Flow<T>;
    }
    • Type Parameters

      • T

      Parameters

      • func: (resolve: (arg: T) => void, reject: () => void) => void
      • Optionalwait: boolean

      Returns phina.util.Flow<T>

    Index

    Constructors

    Methods

    Constructors

    • Type Parameters

      • T

      Parameters

      • func: (resolve: (arg: T) => void, reject: () => void) => void
      • Optionalwait: boolean

      Returns phina.util.Flow<T>

    Methods