Skip to content

Implement counter #403

@tshemsedinov

Description

@tshemsedinov
const counter = metasync
  .count(5)
  .timeout(2000)
  .done(err => {
    /* timed out or done  */
  });
counter(4);
counter(-2);
counter(10);
// now value = 12 but > 5 and we will call 'done'

@nechaido please assign to somebody

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions