Skip to content

Add zero capacity bounded channel #58

Open
@bnyu

Description

@bnyu

A difference between zero capacity and one capacity bounded channel is that call try_send() return OK only when there is already receiver wait on it. And this is useful is somecase.

Golang and crossbeam-channel both have zero capacity bounded channel, maybe we should support it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions