Skip to content
This repository was archived by the owner on Nov 5, 2018. It is now read-only.
This repository was archived by the owner on Nov 5, 2018. It is now read-only.

How to know if all the receivers has been dropped? #61

@dvaerum

Description

@dvaerum

How to know if all the receivers has been dropped? now that send function no longer returns anything.

pub fn send(&self, msg: T) {
match &self.0.flavor {
ChannelFlavor::Array(chan) => chan.send(msg),
ChannelFlavor::List(chan) => chan.send(msg),
ChannelFlavor::Zero(chan) => chan.send(msg),
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions