Skip to content

Commit f0c8b3b

Browse files
committed
doc/adapters.md: mention timeout
note: the end of file change is an unrelated editor artifact. (nvi2)
1 parent 8781de9 commit f0c8b3b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: doc/adapters.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ The adapter must return exit code to the environment that was passed as an argum
3232
and check if the exit code is equal to `13`. There are also two test cases in Assembly Script test suite that verify the behavior:
3333
* [proc_exit-failure](../tests/assemblyscript/testsuite/proc_exit-failure.ts)
3434
* [proc_exit-success](../tests/assemblyscript/testsuite/proc_exit-success.ts)
35+
36+
On a timeout, the test runner sends SIGTERM singal to the adapter process.
37+
When receiving the signal, the adapter process should clean up and exit
38+
as soon as possible.
39+
3540
### Examples:
3641

3742
Print runtime version:
@@ -61,4 +66,4 @@ See the [`adapters`](../adapters) directory for example adapters.
6166

6267
We prefer runtime maintainers to maintain adapters in their own repository We'll only maintain adapters for [Bytecode Alliance](https://bytecodealliance.org/) projects and we'll aim for compatibility with the most recent stable version.
6368

64-
We'll accept pull requests for new adapters in this repository, but we can't guarantee we'll have the capacity to maintain them (so they might stop working with the new runtime release).
69+
We'll accept pull requests for new adapters in this repository, but we can't guarantee we'll have the capacity to maintain them (so they might stop working with the new runtime release).

0 commit comments

Comments
 (0)