We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The promise function returns a tuple of (Promise, Complete).
promise
(Promise, Complete)
The Promise object is similar to the Receiver object of the channels in the stdlib, while the Complete object is similar to the Sender object.
Promise
Receiver
Complete
Sender
However in the stdlib, the channel() function returns a tuple of (Sender, Receiver).
channel()
(Sender, Receiver)
I find it confusing that the order of what promise() returns is the opposite of what channel() returns.
promise()
The text was updated successfully, but these errors were encountered:
Sounds reasonable to me!
Sorry, something went wrong.
daf2fe7
Merge pull request #4 from xusss/patch-1
71462d5
Spelling correction
bad attempt rust-lang#4
89081b9
No branches or pull requests
The
promise
function returns a tuple of(Promise, Complete)
.The
Promise
object is similar to theReceiver
object of the channels in the stdlib, while theComplete
object is similar to theSender
object.However in the stdlib, the
channel()
function returns a tuple of(Sender, Receiver)
.I find it confusing that the order of what
promise()
returns is the opposite of whatchannel()
returns.The text was updated successfully, but these errors were encountered: