-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
<li>Imports: | ||
<ul> | ||
<li>interface <a href="#wasi:io_poll_0.2.0"><code>wasi:io/[email protected]</code></a></li> | ||
<li>interface <a href="#wasi:clocks_monotonic_clock_0.2.0"><code>wasi:clocks/[email protected].0</code></a></li> | ||
<li>interface <a href="#wasi:clocks_wall_clock_0.2.0"><code>wasi:clocks/[email protected].0</code></a></li> | ||
<li>interface <a href="#wasi:clocks_timezone_0.2.0"><code>wasi:clocks/[email protected].0</code></a></li> | ||
<li>interface <a href="#wasi:clocks_monotonic_clock_0.2.1_draft"><code>wasi:clocks/[email protected].1-draft</code></a></li> | ||
<li>interface <a href="#wasi:clocks_wall_clock_0.2.1_draft"><code>wasi:clocks/[email protected].1-draft</code></a></li> | ||
<li>interface <a href="#wasi:clocks_timezone_0.2.1_draft"><code>wasi:clocks/[email protected].1-draft</code></a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
|
@@ -59,7 +59,7 @@ being reaedy for I/O.</p> | |
<ul> | ||
<li><a name="poll.0"></a> list<<code>u32</code>></li> | ||
</ul> | ||
<h2><a name="wasi:clocks_monotonic_clock_0.2.0">Import interface wasi:clocks/[email protected].0</a></h2> | ||
<h2><a name="wasi:clocks_monotonic_clock_0.2.1_draft">Import interface wasi:clocks/[email protected].1-draft</a></h2> | ||
<p>WASI Monotonic Clock is a clock API intended to let users measure elapsed | ||
time.</p> | ||
<p>It is intended to be portable at least between Unix-family platforms and | ||
|
@@ -120,7 +120,7 @@ occured.</p> | |
<ul> | ||
<li><a name="subscribe_duration.0"></a> own<<a href="#pollable"><a href="#pollable"><code>pollable</code></a></a>></li> | ||
</ul> | ||
<h2><a name="wasi:clocks_wall_clock_0.2.0">Import interface wasi:clocks/[email protected].0</a></h2> | ||
<h2><a name="wasi:clocks_wall_clock_0.2.1_draft">Import interface wasi:clocks/[email protected].1-draft</a></h2> | ||
<p>WASI Wall Clock is a clock API intended to let users query the current | ||
time. The name "wall" makes an analogy to a "clock on the wall", which | ||
is not necessarily monotonic as it may be reset.</p> | ||
|
@@ -161,7 +161,7 @@ also known as <a href="https://en.wikipedia.org/wiki/Unix_time">Unix Time</a>.</ | |
<ul> | ||
<li><a name="resolution.0"></a> <a href="#datetime"><a href="#datetime"><code>datetime</code></a></a></li> | ||
</ul> | ||
<h2><a name="wasi:clocks_timezone_0.2.0">Import interface wasi:clocks/[email protected].0</a></h2> | ||
<h2><a name="wasi:clocks_timezone_0.2.1_draft">Import interface wasi:clocks/[email protected].1-draft</a></h2> | ||
<hr /> | ||
<h3>Types</h3> | ||
<h4><a name="datetime"><code>type datetime</code></a></h4> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.0; | ||
package wasi:clocks@0.2.1-draft; | ||
|
||
interface timezone { | ||
use wall-clock.{datetime}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package wasi:clocks@0.2.0; | ||
package wasi:clocks@0.2.1-draft; | ||
|
||
world imports { | ||
import monotonic-clock; | ||
|