2
2
miroir de https://github.com/Hilbis/Hilbish synchronisé 2025-07-01 00:32:03 +00:00

docs: [ci] generate new docs

Cette révision appartient à :
TorchedSammy 2023-03-25 21:42:46 +00:00 révisé par github-actions[bot]
Parent d577b3c958
révision 0379e302ac
2 fichiers modifiés avec 22 ajouts et 0 suppressions

Voir le fichier

@ -109,6 +109,16 @@ A sink is a structure that has input and/or output to/from
a desination.
### Methods
#### autoFlush(auto)
Sets/toggles the option of automatically flushing output.
A call with no argument will toggle the value.
#### flush()
Flush writes all buffered input to the sink.
#### read() -> string
Reads input from the sink.
#### write(str)
Writes data to a sink.

Voir le fichier

@ -180,6 +180,18 @@ function hilbish.jobs:foreground() end
--- @param cmd string
function hilbish.runner.lua(cmd) end
--- Sets/toggles the option of automatically flushing output.
--- A call with no argument will toggle the value.
--- @param auto boolean|nil
function hilbish:autoFlush(auto) end
--- Flush writes all buffered input to the sink.
function hilbish:flush() end
--- Reads input from the sink.
--- @returns string
function hilbish:read() end
--- Writes data to a sink.
function hilbish:write(str) end