-
Notifications
You must be signed in to change notification settings - Fork 257
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
[Task] document callback_unwrap
#1303
Labels
Comments
Mind if I take this issue? |
Hola Its Tobias. Im requesting for this task as requested |
callback_unwrap
TobieTom
added a commit
to TobieTom/near-sdk-rs
that referenced
this issue
Feb 19, 2025
Fixes near#1303 Adds documentation for the `callback_unwrap` attribute under the `#[near]` macro docs, including: - Description of functionality and usage - Integration with `PromiseOrValue` - Cross-contract factorial example - Error handling alternatives - Rust doc annotations and references Resolves near#1303 --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/near/near-sdk-rs/issues/1303?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Callback_unwrap can link to [PromiseOrValue] abstraction https://github.com/near/near-sdk-rs/blob/master/examples/cross-contract-calls/high-level/src/lib.rs#L26
User Story
Should have an anchor under
#[near]
macro doc with description of how it works and a few examples, and with links within repo, how it's used.Acceptance Criteria
Resources & Additional Notes
No response
Priority
🔴 P4 : Normal
The text was updated successfully, but these errors were encountered: