Skip to content

setProperty returns a promise, like getProperty#41

Draft
k2d222 wants to merge 1 commit intoOpenSpace:masterfrom
k2d222:setprop-async
Draft

setProperty returns a promise, like getProperty#41
k2d222 wants to merge 1 commit intoOpenSpace:masterfrom
k2d222:setprop-async

Conversation

@k2d222
Copy link

@k2d222 k2d222 commented Oct 7, 2025

setProperty now returns a promise. It's helpful:

  • for state synchronization: OpenSpace ack that the call was handled.
  • ideally, when an OpenSpace API call fails it should reject() which can then be caught by the client. It is not the case currently, and the lua API does not always propagate errors anyway.

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