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

x/pita_api/mod.ts>IO#writeIter

API for Pita projects, simpliest way to develop secure and powerful webapps for redpitaya.
Latest
method IO.prototype.writeIter
import { IO } from "https://deno.land/x/pita_api@0.9.1/mod.ts";

Continuously write a value to IO.

Examples

Example 1

for await (const write of dio6p.writeIter()) {
	await write(Math.random() > 0.5)
}