Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/src/streams/stream_utils.ts>CallbackSink#onWrite

Storage for private, distributed, offline-first applications.
Go to Latest
method CallbackSink.prototype.onWrite
import { CallbackSink } from "https://deno.land/x/earthstar@v10.0.1/src/streams/stream_utils.ts";

Parameters

callback: (chunk: T) => void | Promise<void>

Returns

() => void