Gck.Session::discard-handle

connect('discard-handle', function (session, handle: Number(gulong), ): Boolean);
  

When a GckSession is being disposed of it emits this signal to allow a session pool to pick up the handle and keep it around.

If no signal handler claims the handle, then it is closed.

session

instance of Gck.Session that is emitting the signal

handle

The handle being discarded.

Returns

Whether or not this handle was claimed.