Allow room client and player event handlers to use inline callbacks with proper exception handling.