Class Exchanges

Exchanges

Hierarchy

  • Exchanges

Constructors

Properties

Methods

  • Create exn message

    Parameters

    • sender: HabState
    • route: string
    • payload: Dict<any>
    • embeds: Dict<any>
    • recipient: string
    • Optional datetime: string
    • Optional dig: string

    Returns Promise<[Serder, string[], string]>

    A promise to the list of replay messages

    Async

  • Get exn message by said

    Parameters

    • said: string

      The said of the exn message

    Returns Promise<any>

    A promise to the exn message

    Async

  • Send exn messages to list of recipients

    Parameters

    • name: string
    • topic: string
    • sender: HabState
    • route: string
    • payload: Dict<any>
    • embeds: Dict<any>
    • recipients: string[]

    Returns Promise<any>

    A promise to the list of replay messages

    Async

  • Send exn messaget to list of recipients

    Parameters

    • name: string
    • topic: string
    • exn: Serder
    • sigs: string[]
    • atc: string
    • recipients: string[]

    Returns Promise<any>

    A promise to the list of replay messages

    Async

Generated using TypeDoc