char/avril
(wip) why'd you have to go and make things so complicaaaaated?
git clone https://git.t4t.associates/char/avril
f20b64f
main
1declare module"ext:core/ops" { 2import type { FileReply } from "ext:file/errors.js" ; 3 4export function op_stdio_cancel_read () :null ; 5export function op_stdio_flush ( stderr :boolean ) :Promise < null >; 6export function op_stdio_read ( limit :number ) :Promise < Uint8Array < ArrayBuffer > | null >; 7export function op_stdio_read_sync ( limit :number ) :FileReply < Uint8Array < ArrayBuffer > | null >; 8export function op_stdio_write ( args :[ stderr :boolean , bytes :Uint8Array < ArrayBuffer >]) :Promise < null >; 9export function op_stdio_write_sync ( args :[ stderr :boolean , bytes :Uint8Array < ArrayBuffer >]) :FileReply < number >; 10}