Closed
Description
The promise
function returns a tuple of (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.
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 what channel()
returns.
Metadata
Metadata
Assignees
Labels
No labels