NOTE

Channel

Basic Channel usage.

JavaCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

Basic Usage

Data can both be read from a channel and written to a channel, while stream reading and writing are usually one-way.

A channel can read and write asynchronously.

Data in a channel must always first be read into a Buffer, or written from a Buffer.

Discussion

Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub