From 21940abe0db03955d9b2198da38b33aae41f6432 Mon Sep 17 00:00:00 2001 From: Luc Blaeser <112870813+luc-blaeser@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:55:34 +0100 Subject: [PATCH] Adjust documentation Co-authored-by: Gabor Greif --- doc/md/canister-maintenance/memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/md/canister-maintenance/memory.md b/doc/md/canister-maintenance/memory.md index 2239b9295ab..5294c5b2d44 100644 --- a/doc/md/canister-maintenance/memory.md +++ b/doc/md/canister-maintenance/memory.md @@ -23,4 +23,4 @@ The following properties apply to the low memory hook: * The execution of `lowmemory` happens with a certain delay, as it is scheduled as a separate asynchronous message that runs after the message in which the threshold was crossed. * Once executed, `lowmemory` is only triggered again when the main memory free space first exceeds and then falls below the threshold. * Traps or unhandled errors in `lowmemory` are ignored. Traps only revert the changes done in `lowmemory`. -* Due to its `async` return type, the `lowmemory` function may send further messages and await results. +* Due to its `async*` return type, the `lowmemory` function may send further messages and `await` results.