Skip to content

what is the difference between ev/call and ev/go ? #1589

Closed Answered by sogaiu
lost22git asked this question in Q&A
Discussion options

You must be logged in to vote

Regarding background on ev/call and ev/go...

According to this commit on 2020-07-07:

Add ev/call.

This is a common operation, and making fibers manually can be tedious.

Later, there was this commit on 2021-08-31:

Allow passing a function to directly to ev/go.

Makes ev/call less useful but ev/go more useful. No need
to construct as many identical intermediate fibers.

IIUC, originally, ev/go's first argument had to be a fiber, but this was changed later (the second commit above).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lost22git
Comment options

@sogaiu
Comment options

Answer selected by lost22git
@lost22git
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants