-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated return variant and unused expression.
Signed-off-by: Suneet Nangia <[email protected]>
- Loading branch information
1 parent
609168f
commit 3c11659
Showing
3 changed files
with
20 additions
and
14 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
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,3 +1,10 @@ | ||
default world spin-timer { | ||
export handle-timer-request: func() -> bool | ||
// Timer execution loop exit variant | ||
variant continue-timer { | ||
true, | ||
false | ||
} | ||
|
||
// Get the value of a key. | ||
export handle-timer-request: func() -> continue-timer | ||
} |
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