Closure.doref

Increments the reference count on a closure to force it staying alive while the caller holds a pointer to it.

class Closure
doref
()

Return Value

Type: Closure

The closure passed in, for convenience. [transfer none]

Meta