@runloop/api-client - v1.18.1
    Preparing search index...

    Class Axons

    Hierarchy

    • APIResource
      • Axons
    Index

    Constructors

    Properties

    _client: Runloop

    Methods

    • [Beta] Get an axon given ID.

      Parameters

      • id: string
      • Optionaloptions: RequestOptions<unknown>

      Returns APIPromise<AxonView>

    • [Beta] Subscribe to an axon event stream via server-sent events. On idle timeout (408), reconnects with after_sequence derived from the last received event (internal to withStreamAutoReconnect).

      Parameters

      • id: string
      • Optionaloptions: RequestOptions<unknown>

      Returns APIPromise<Stream<AxonEventView>>