ReportFileNode.createTimeout Method

Creates a timeout.
 

Parameters

func

Type: Function
The function to call when the timeout elapses.
timeout

Type: Number
The timeout (amount of time before timeout elapses) in milliseconds.
context

Type: Object
The context the function should run with.

Return Value


Type: Object
The token which can be used to cancel with token.cancel().