Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/earthstar/src/streams/stream_utils.ts>LockStream

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
class LockStream
import { LockStream } from "https://deno.land/x/earthstar@v10.0.0-alpha.2/src/streams/stream_utils.ts";

Properties

private
closed: boolean
private
writable: WritableStream<() => void | Promise<void>>
private
writer

Methods

private
checkClosed()
run(cb: () => void | Promise<void>)