Skip to content

map.rate #277

@richytong

Description

@richytong
map.rate(
  [1, 2, 3, 4, 5],
  5, // executions per second
  async n => n ** 2
).then(console.log) // [1, 4, 9, 16, 25]

accepts an integer rate with units /s

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions