Skip to content

better concurrency control #10

Description

@jonathanong

right now i create multiple channels, which is annoying. ideally, we would have something like:

var channel = new Channel({
  concurrency: 5
})

var result = yield channel(task(args))

and task wouldn't actually be executed until a drain happens

nvm don't think that's applicable. however, we should try to create only one channel.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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