Skip to content

Pass reportError to the processTask function #14

Description

@EECOLOR

Please vote on this issue if you would like this feature to be added.


This feature request came from #11

Instead of this:

async function processTask(task) {
   try { ... }
   catch (e) { reportError(e); ... }
}

We want to do this:

async function processTask(task, { reportError }) {
   try { ... }
   catch (e) { reportError(e); ... }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions