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

Document new #[callback_result] interactions #1159

Closed
austinabell opened this issue Feb 9, 2022 · 1 comment
Closed

Document new #[callback_result] interactions #1159

austinabell opened this issue Feb 9, 2022 · 1 comment
Labels

Comments

@austinabell
Copy link
Contributor

Changes from near/near-sdk-rs#554 came in 4.0.0-pre.3 release of the SDK, explanations and examples need to be added to the guided callbacks section.

Also would be beneficial to change the #[callback] annotations to #[callback_unwrap] to be more explicit and allow the former to be deprecated more easily in the future.

@bucanero bucanero transferred this issue from near/sdk-docs Aug 25, 2022
@gagdiez
Copy link
Collaborator

gagdiez commented Oct 26, 2022

All examples now use callback_result, we will leave the rust-sdk docs to document #[callback_unwrap] since it's not used in our documentation

@gagdiez gagdiez closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants