• Parameters

    • task: () => Promise<any>

    Returns Promise<null | Error>

  • Parameters

    • task: () => any

    Returns null | Error