Skip to content

feat(command_queue): message-available callback, NumberReader, VMI name query#84

Closed
mfazekas wants to merge 2 commits intorive-app:mainfrom
mfazekas:mfazekas/message-available-callback
Closed

feat(command_queue): message-available callback, NumberReader, VMI name query#84
mfazekas wants to merge 2 commits intorive-app:mainfrom
mfazekas:mfazekas/message-available-callback

Conversation

@mfazekas
Copy link

@mfazekas mfazekas commented Feb 13, 2026

Adds three command queue features:

  1. Message-available callbacksetMessageAvailableCallback() for async notification when server messages are ready
  2. Atomic NumberReader — zero-latency reads of ViewModel number properties via std::atomic<float>
  3. VMI name queryrequestViewModelInstanceName command to retrieve instance names from the server

The VMI name query is used by the rive-ios experimental API: rive-app/rive-ios#422

Add setMessageAvailableCallback() to CommandQueue so the server can
notify the client immediately when response messages are available,
instead of relying on polling via processMessages() on the render loop.
Add atomic NumberReader for zero-latency reads of ViewModel number
properties, and add requestViewModelInstanceName command to retrieve
VMI names from the server.
@mfazekas mfazekas changed the title [POC] Add message-available callback to CommandQueue feat(command_queue): message-available callback, NumberReader, VMI name query Feb 19, 2026
@mfazekas mfazekas closed this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant