Skip to content

Commit

Permalink
doc: change WASI Preview2 -> WASI 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Oct 3, 2024
1 parent 2e9982e commit 9767649
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion wit/ip-name-lookup.wit
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface ip-name-lookup {

/// Create a `pollable` which will resolve once the stream is ready for I/O.
///
/// Note: this function is here for WASI Preview2 only.
/// Note: this function is here for WASI 0.2 only.
/// It's planned to be removed when `future` is natively supported in Preview3.
@since(version = 0.2.0)
subscribe: func() -> pollable;
Expand Down
2 changes: 1 addition & 1 deletion wit/tcp.wit
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ interface tcp {
/// See <https://github.com/WebAssembly/wasi-sockets/blob/main/TcpSocketOperationalSemantics.md#pollable-readiness>
/// for more information.
///
/// Note: this function is here for WASI Preview2 only.
/// Note: this function is here for WASI 0.2 only.
/// It's planned to be removed when `future` is natively supported in Preview3.
@since(version = 0.2.0)
subscribe: func() -> pollable;
Expand Down
6 changes: 3 additions & 3 deletions wit/udp.wit
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ interface udp {

/// Create a `pollable` which will resolve once the socket is ready for I/O.
///
/// Note: this function is here for WASI Preview2 only.
/// Note: this function is here for WASI 0.2 only.
/// It's planned to be removed when `future` is natively supported in Preview3.
@since(version = 0.2.0)
subscribe: func() -> pollable;
Expand Down Expand Up @@ -220,7 +220,7 @@ interface udp {

/// Create a `pollable` which will resolve once the stream is ready to receive again.
///
/// Note: this function is here for WASI Preview2 only.
/// Note: this function is here for WASI 0.2 only.
/// It's planned to be removed when `future` is natively supported in Preview3.
@since(version = 0.2.0)
subscribe: func() -> pollable;
Expand Down Expand Up @@ -280,7 +280,7 @@ interface udp {

/// Create a `pollable` which will resolve once the stream is ready to send again.
///
/// Note: this function is here for WASI Preview2 only.
/// Note: this function is here for WASI 0.2 only.
/// It's planned to be removed when `future` is natively supported in Preview3.
@since(version = 0.2.0)
subscribe: func() -> pollable;
Expand Down

0 comments on commit 9767649

Please sign in to comment.