NDNts

    Interface Pushable<T>

    An iterable that you can push values into.

    interface Pushable<T> {
        fail: (err: Error) => void;
        push: (value: T) => void;
        stop: () => void;
    }

    Type Parameters

    • T

    Hierarchy

    • AsyncIterable<T>
      • Pushable
    Index

    Properties

    Properties

    fail: (err: Error) => void

    End the iterable abnormally.

    push: (value: T) => void

    Push a value.

    stop: () => void

    End the iterable normally.

    MMNEPVFCICPMFPCPTTAAATR