diff --git a/imports.md b/imports.md index e08b326..dbca06e 100644 --- a/imports.md +++ b/imports.md @@ -2,11 +2,33 @@ +

Import interface wasi:io/error

+
+

Types

+

resource error

+
+

Functions

+

[method]error.to-debug-string: func

+

Returns a string that is suitable to assist humans in debugging +this error.

+

WARNING: The returned string should not be consumed mechanically! +It may change across platforms, hosts, or other implementation +details. Parsing this string is a major platform-compatibility +hazard.

+
Params
+ +
Return values
+

Import interface wasi:io/poll

A poll API intended to let users wait for I/O events on multiple handles at once.

@@ -64,11 +86,13 @@ stream types.

when it does, they are expected to subsume this API.


Types

-

type pollable

-

pollable

+

type error

+

error

+

+#### `type pollable` +[`pollable`](#pollable)

-#### `resource error` -

variant stream-error

+#### `variant stream-error`

An error for input-stream and output-stream operations.

Variant Cases