import { type Deferred } from "https://deno.land/x/earthstar_streaming_rpc@v5.0.1/mod.ts";
A Deferred is a Promise and its resolve and reject methods.
Normally you can't resolve or reject a Promise from the outside; this lets you do that.
import { type Deferred } from "https://deno.land/x/earthstar_streaming_rpc@v5.0.1/mod.ts";
A Deferred is a Promise and its resolve and reject methods.
Normally you can't resolve or reject a Promise from the outside; this lets you do that.