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

    Interface Flow<T>

    interface Flow<T> {
        addEventListener(type: string, listener: Function): this;
        clear(type: string): this;
        clearEventListener(type: string): this;
        dispatchEvent(e: { type: string }): this;
        dispatchEventByType(type: string, param: object): this;
        fire(e: { type: string }): this;
        flare(type: string, param?: object): this;
        has(type: string): boolean;
        hasEventListener(type: string): boolean;
        off(type: string, listener: Function): this;
        on(type: string, listener: Function): this;
        one(type: string, listener: Function): this;
        reject(): void;
        removeEventListener(type: string, listener: Function): this;
        resolve(arg: T): void;
        then<U>(func: (arg: T) => U | phina.util.Flow<U>): phina.util.Flow<U>;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Methods