Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement snap_getInterfaceContext #2901

Open
FrederikBolding opened this issue Nov 21, 2024 · 0 comments
Open

Implement snap_getInterfaceContext #2901

FrederikBolding opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@FrederikBolding
Copy link
Member

Expose snap_getInterfaceContext to make the context easily available outside onUserInput

@FrederikBolding FrederikBolding self-assigned this Nov 21, 2024
FrederikBolding added a commit that referenced this issue Nov 22, 2024
Expose a new RPC method `snap_getInterfaceContext` that makes the
`context` easily accessible outside `onUserInput`. Also adds the
necessary wiring to make this RPC method work in the simulation
environment.

This feature will require the addition of a `getInterfaceContext` method
hook in the clients.

Progresses #2901
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

No branches or pull requests

1 participant