help wanted
Métriques du dépôt
- Stars
- (8 826 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
- The docs don't show how to make a Job object without scheduleJob
- There are several properties and methods of the Job object that are undocumented.
Job {
job: [Function: doScan],
callback: false,
name: '<Anonymous Job 1>',
trackInvocation: [Function],
stopTrackingInvocation: [Function],
cancel: [Function],
cancelNext: [Function],
nextInvocation: [Function],
pendingInvocations: [Function] }
cancel and job are the only ones that are documented. Do any of the others have any use to the developer? 3. Document the Job contsructor, and other methods on the node-schedule module such as Invocation and cancelJob.
{ Job:
{ [Function: Job]
super_:
{ [Function: EventEmitter]
EventEmitter: [Circular],
usingDomains: false,
defaultMaxListeners: [Getter/Setter],
init: [Function],
listenerCount: [Function] } },
Range: [Function: Range],
RecurrenceRule: [Function: RecurrenceRule],
Invocation: [Function: Invocation],
scheduleJob: [Function: scheduleJob],
scheduledJobs: {},
cancelJob: [Function: cancelJob] }