What are the units of timeout in best effort messages

@ggreif

I was just reading the release notes for Release 0.14.2 · dfinity/motoko · GitHub to learn more about the timeout field, and couldn’t find the units of timeout documented.

For example, in this case

let worker = (with timeout = 15) async { /* worker loop */ };

Is it in seconds, milliseconds, or nanoseconds?

3 Likes

It is in seconds. Finer granularity is pretty much unobtainable for roundtrip messaging.

2 Likes