import * as mod from "https://gitlab.com/soapbox-pub/nostr-machina/-/raw/main/mod.ts";
Machina | Infinite async generator. Iterates messages pushed to it until closed. Only one consumer is expected to use a Machina instance at a time. |
NiceRelay | Opinionated relay implementation that manages subscriptions and auto-reconnects. |
Pubsub | |
Relay | Barebones relay client that deals directly with relay messages. |
RelayPool | |
RelaySub | |
Semaphore |
AsyncSocket | Functions that make WebSockets more pleasant to use with async code. |
exponential | Exponential backoff function. |
fibonacci | Fibonacci backoff function. |
NiceRelaySub | Relay subscription interface. Loop over it to get events. |
ReanimateOpts | Options for the |
Sub |