Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/cron

Index

Type aliases

Callback<E>: (err: E) => void

Type parameters

  • E

    The Error object.

Type declaration

    • (err: E): void
    • Defines a callback function that takes an error object.

      Parameters

      • err: E

      Returns void

DataCallback<E, T>: (err: E, data: T) => void

Type parameters

  • E

    The Error if the operation failed.

  • T

    The data to return from the operation if it succeeded.

Type declaration

    • (err: E, data: T): void
    • Defines a callback function That takes an error on failure and data on success.

      Parameters

      • err: E
      • data: T

      Returns void

Milliseconds: number

A type used to represent a duration in milliseconds.

Generated using TypeDoc