@mikaello/emit-punch-cards-communication - v1.0.2
    Preparing search index...

    Class EmitEkt250TransformStream

    This transform stream unpacks objects of e-card info from an EMIT EKT 250 device.

    It can be consumed by a ReadableStream's pipeThrough method.

    Hierarchy

    • TransformStream<Uint8Array, Ecard250>
      • EmitEkt250TransformStream
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • sendMetadataWhenRead: boolean = false

        If true, objects containing only ecard metadata will be sent as soon possible. With a duplicate sent right after, containing same information plus control codes. Defaults to false.

      Returns EmitEkt250TransformStream

    Properties

    readable: ReadableStream<Ecard250>

    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<Uint8Array<ArrayBufferLike>>

    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