Function
Defer

_.defer(func, [args])

Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.

Arguments

func (Function): The function to defer.
[args] (...*): The arguments to invoke func with.

Returns

(number):Returns the timer id.

Example