@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Function configureEventSource

    • Set the EventSource every provider uses by default. Call once at startup, before opening a wallet; pass undefined to go back to the global.

      This exists because a single process may want one EventSource implementation shared by every Rest provider it constructs.

      Parameters

      Returns void

      import { EventSource } from "eventsource";
      configureEventSource((url) => new EventSource(url));