@servicenow/sdk - v4.9.0
    Preparing search index...

    Interface TransformStream<I, O>

    The TransformStream interface of the Streams API represents a concrete implementation of the pipe chain transform stream concept.

    MDN Reference

    interface TransformStream<I = any, O = any> {
        readable: ReadableStream<O>;
        writable: WritableStream<I>;
    }

    Type Parameters

    • I = any
    • O = any
    Index

    Properties

    Properties

    readable: ReadableStream<O>

    The readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.

    MDN Reference

    writable: WritableStream<I>

    The writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.

    MDN Reference