ref

fun ref(): Closure

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

Return

The @closure passed in, for convenience