Class IdRandom<T>

Type Parameters

Hierarchy

  • IdRandom

Implements

  • IterableIterator<T>

Constructors

Properties

Methods

Constructors

  • Type Parameters

    Parameters

    • __namedParameters: {
          randomSource?: ((size: number) => Uint8Array);
      } = {}
      • Optional randomSource?: ((size: number) => Uint8Array)
          • (size: number): Uint8Array
          • Parameters

            • size: number

            Returns Uint8Array

    Returns IdRandom<T>

Properties

randomSource: ((size: number) => Uint8Array)

Type declaration

    • (size: number): Uint8Array
    • Parameters

      • size: number

      Returns Uint8Array

Methods

  • Returns IterableIterator<T>

  • Returns IteratorResult<T, void>

Generated using TypeDoc