Skip to content

Commit

Permalink
apply minor nit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
akhi3030 committed Mar 8, 2024
1 parent 10920a6 commit 77bb83e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions neps/nep-519-yield-execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ pub fn promise_yield_create(
/// that will be resumed. These are available via the `promise_result` host
/// function.
///
/// This function can be called multiple times. If it is called successfully
/// multiple times, then the implementation guarantees that the yielded callback
/// will execute with one of the successfully submitted payloads. If submission
/// was successful, then `1` is returned. Otherwise (e.g. if the yield receipt
/// has already timed out or the yielded callback has already been executed) `0`
/// will be returned, indicating that this payload could not be submitted
/// successfully.
/// This function can be called multiple times with the same data id. If it is
/// called successfully multiple times, then the implementation guarantees that
/// the yielded callback will execute with one of the successfully submitted
/// payloads. If submission was successful, then `1` is returned. Otherwise
/// (e.g. if the yield receipt has already timed out or the yielded callback has
/// already been executed) `0` will be returned, indicating that this payload
/// could not be submitted successfully.
pub fn promise_yield_resume(
data_id_len: u64,
data_id_ptr: u64,
Expand Down

0 comments on commit 77bb83e

Please sign in to comment.