import { type Deferred } from "https://deno.land/x/earthstar@v9.3.3/src/test/rpc-dep-node.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@v9.3.3/src/test/rpc-dep-node.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.