ri > Concurrent::Channel

πŸ“› Concurrent::Channel < Object

πŸš€ Quick Reference

Use CaseCommandDescription
Create a channelConcurrent::Channel.newCreates a new channel
Send a value (blocking)channel.put(value) or channel << valueSends a value to the channel, blocking if full
Receive a value (blocking)channel.take or channel.receiveReceives a value from the channel, blocking if empty
Non‑blocking sendchannel.offer(value)Tries to send, returns immediately
Non‑blocking receivechannel.pollTries to receive, returns immediately
Select from multiple channelsConcurrent::Channel.selectWaits for one of several channels to be ready
Channel that fires after a delayConcurrent::Channel.after(seconds)Returns a channel that delivers a value once after the delay
Periodic ticker channelConcurrent::Channel.ticker(interval)Returns a channel that ticks repeatedly at the given interval

πŸ“š Includes

πŸ”— Extended by

(from /home/chedong/.local/share/rdoc)

πŸ“„ Documentation sourced from {include:file:docs-source/channel.md}

@!macro warn.edge

πŸ“¦ Constants

πŸ”§ Class Methods

πŸ”§ Instance Methods

Concurrent::Channel
πŸ“› Concurrent::Channel < Object πŸš€ Quick Reference πŸ“š Includes πŸ”— Extended by πŸ“¦ Constants πŸ”§ Class Methods πŸ”§ Instance Methods

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 18:53 @216.73.216.199
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format