Modifier and Type | Method and Description |
---|---|
void |
awaitAsyncOperationComplete()
Signals the runtime to stop invoking the currently executing function with new input until at
least one
AsyncOperationResult belonging to this function
would be delivered. |
FunctionTypeMetrics |
functionTypeMetrics()
Returns the metrics handle for the current invoked function's type.
|
void awaitAsyncOperationComplete()
AsyncOperationResult
belonging to this function
would be delivered.
NOTE: If a function would request to block without actually registering any async operations either previously or during its current invocation, then it would remain blocked. Since this is an internal API to be used by the remote functions we don't do anything to prevent that.
If we would like it to be a part of the SDK then we would have to make sure that we track every async operation registered per each address.
FunctionTypeMetrics functionTypeMetrics()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.