File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ interface poll {
8
8
@since (version = 0.2.0 )
9
9
resource pollable {
10
10
11
- /// Return the readiness of a pollable. This function never blocks.
12
- ///
13
- /// Returns `true` when the pollable is ready, and `false` otherwise.
14
- @since (version = 0.2.0 )
15
- ready : func () -> bool ;
11
+ /// Return the readiness of a pollable. This function never blocks.
12
+ ///
13
+ /// Returns `true` when the pollable is ready, and `false` otherwise.
14
+ @since (version = 0.2.0 )
15
+ ready : func () -> bool ;
16
16
17
- /// `block` returns immediately if the pollable is ready, and otherwise
18
- /// blocks until ready.
19
- ///
20
- /// This function is equivalent to calling `poll.poll` on a list
21
- /// containing only this pollable.
22
- @since (version = 0.2.0 )
23
- block : func ();
17
+ /// `block` returns immediately if the pollable is ready, and otherwise
18
+ /// blocks until ready.
19
+ ///
20
+ /// This function is equivalent to calling `poll.poll` on a list
21
+ /// containing only this pollable.
22
+ @since (version = 0.2.0 )
23
+ block : func ();
24
24
}
25
25
26
26
/// Poll for completion on a set of pollables.
You can’t perform that action at this time.
0 commit comments