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

feat: add replyDeadline to ExperimentalInternetComputer #677

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/ExperimentalInternetComputer.mo
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,10 @@ module {
/// ```
public let performanceCounter : (counter : Nat32) -> (value: Nat64) = Prim.performanceCounter;

/// Returns the time (in nanoseconds from the epoch start) by when the update message should
/// reply to the best effort message so that it can get delivered at the requesting canister.
ggreif marked this conversation as resolved.
Show resolved Hide resolved
/// Queries and non-best-effort update messages return zero.
///
public func replyDeadline() : Nat = Prim.nat64ToNat(Prim.replyDeadline());

}
Loading