effect-playwright
    Preparing search index...

    Interface Download

    0.1.2

    interface Download {
        cancel: Effect<void, PlaywrightError>;
        delete: Effect<void, PlaywrightError>;
        failure: Effect<Option<string | null>, PlaywrightError>;
        page: () => Playwright.Page;
        path: Effect<Option<string | null>, PlaywrightError>;
        saveAs: (path: string) => Effect<void, PlaywrightError>;
        stream: Stream<Uint8Array<ArrayBufferLike>, PlaywrightError>;
        suggestedFilename: () => string;
        url: () => string;
        use: <R>(
            f: (download: Download) => Promise<R>,
        ) => Effect<R, PlaywrightError>;
    }
    Index
    stream: Stream<Uint8Array<ArrayBufferLike>, PlaywrightError>

    Creates a stream of the download data.

    0.2.0

    cancel: Effect<void, PlaywrightError>
    delete: Effect<void, PlaywrightError>
    failure: Effect<Option<string | null>, PlaywrightError>
    page: () => Playwright.Page
    path: Effect<Option<string | null>, PlaywrightError>
    saveAs: (path: string) => Effect<void, PlaywrightError>
    suggestedFilename: () => string
    url: () => string
    use: <R>(f: (download: Download) => Promise<R>) => Effect<R, PlaywrightError>