Documentation
    Preparing search index...

    Interface DistinctOptions<T, K>

    Options for the distinct transformer.

    interface DistinctOptions<T, K> {
        flushes?: ReadableStream<unknown>;
        ignoreFlushErrors?: boolean;
        selector?: (value: T) => K;
    }

    Type Parameters

    • T
    • K

    Hierarchy (View Summary)

    Index

    Properties

    flushes?: ReadableStream<unknown>
    ignoreFlushErrors?: boolean

    By default an error in the flushes stream will be sent by the transformer.

    selector?: (value: T) => K