node-jack-connector icon indicating copy to clipboard operation
node-jack-connector copied to clipboard

Implement the JACK API method jack_set_client_registration_callback

Open dmansfield opened this issue 8 years ago • 0 comments

The JACK API method jack_set_client_registration_callback is used by a client to monitor connections and disconnections of other clients.

In turn, we will call a user supplied JS callback function with the client name, and a boolean (connected).

Within the JACK callback context it is unsafe to access V8 internals, so uv_async_send is used to notify a "safe" context where the callback is actually invoked. libuv may coalesce calls to the uv_async_cb so a linked list of information is maintained.

dmansfield avatar May 10 '16 15:05 dmansfield