bothy-sdk
    Preparing search index...

    Class TamperingSource

    Rewrites or removes the invocation_token of chosen deliveries (AG-08, AZ-P6).

    adapter.source = new TamperingSource(await adapter.makeSource(), async () => REMOVE);
    

    Hierarchy

    • Wrapper
      • TamperingSource
    Index

    Constructors

    Properties

    The wrapped source.

    Accessors

    • get closeReason(): CloseReason | undefined

      Why the wrapped source stopped, once it has.

      Returns CloseReason | undefined

    Methods

    • Yields the inner deliveries with rewritten tokens.

      Returns AsyncGenerator<Delivery, void, undefined>

      The deliveries.

    • Forwards to the wrapped source.

      Parameters

      • seq: number

        The seq.

      Returns Promise<void>

    • Forwards to the wrapped source.

      Parameters

      • seq: number

        The cursor.

      Returns Promise<void>

    • Forwards to the wrapped source.

      Parameters

      • requestId: string

        The request.

      • choices: readonly {}[]

        The choices.

      Returns Promise<void>

    • Forwards to the wrapped source.

      Returns Promise<void>

    • Forwards to the wrapped source.

      Parameters

      • seq: number

        The settled seq.

      Returns Promise<void>