Expand description
download(…) and format_bytes(…) in compiled apps. A download call names the state
each of its bindings is bound to as paths from a state, which the reports are written
through later.
Structs§
- Download
Binding - One binding of a
download(…)call: the report field, and the state it goes to. - Download
Desc - A
download(…)call as compiled code builds it: the address, folder, name and list of headers, borrowed, its other settings, andlenbindings atbindings. - Targets 🔒
- Where a download’s reports go, and the span of its call, which errors writing them point at.
Functions§
- nf_
download 🔒 ⚠ - Asks for the download
descdescribes once the current event finishes, and shows it has begun in the state it binds. Its reports later go to the same places. - nf_
download_ 🔒 ⚠command - Asks the download whose id is
id, borrowed, forcommandonce the current event finishes. - nf_
fail_ 🔒 ⚠download_ into_ variable - Fails a
downloadwith a binding to a variable rather than state. - nf_
format_ 🔒bytes format_bytes(bytes): the size as text, owned by the caller.
Type Aliases§
- Request 🔒