Interface AsyncByTokens<T>

Asynchronous deserializer by tokens.

Reads data encoded as input stream of tokens.

Type Parameters

  • out T

    Deserialized data type.

Hierarchy

  • AsyncByTokens
  • Reads the data asynchronously from the given readable stream of tokens.

    Parameters

    • stream: ReadableStream<UcToken>

      Input stream to read the data from.

    • Optional options: UcDeserializer.Options

      Deserialization options.

      Optional

    Returns Promise<T>

    Promise resolved to deserialized data value.

Properties

__UcDeserializerByTokens__: true

Brand property not supposed to be declared.

Generated using TypeDoc