Resource

content-writer

Writer for streaming resource content.

resource content-writer;

F check-write

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

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

F write

write: func(contents: bytes) -> result​<_, stream-error>;

Continue the contents stream for the in-progress resource.