Resource

list-writer

Writer for streaming resource list responses.

resource list-writer;

F check-write

check-write: func() -> result​<u32, stream-error>;

Check readiness for writing. Returns the number of resources that can be written without blocking.

F send-resources

send-resources: func(id: id, output: output-stream, resources: list​<resource>) -> result​<_, stream-error>;

Send a list of resources as a complete result.