Skip to content

feat: add async API compat layer for experimental migration#183

Open
mfazekas wants to merge 1 commit intomainfrom
feat/async-api-compat
Open

feat: add async API compat layer for experimental migration#183
mfazekas wants to merge 1 commit intomainfrom
feat/async-api-compat

Conversation

@mfazekas
Copy link
Collaborator

Adds async equivalents for all sync methods and marks the sync versions as @deprecated. This lets users migrate to the new async API while still on the legacy backend, before switching to experimental.

No behavior changes — all new async methods are thin Promise.async {} wrappers around existing sync calls.

@mfazekas mfazekas force-pushed the feat/async-api-compat branch 2 times, most recently from b196580 to 71be8c5 Compare March 19, 2026 08:44
…patibility

Add async equivalents for all sync ViewModel/RiveFile methods (createInstanceByNameAsync,
getValueAsync, viewModelByNameAsync, etc.) and mark legacy sync methods as @deprecated.
Native implementations wrap sync calls in Promise.async on both iOS and Android.
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