Skip to content

Commit 03b44d7

Browse files
Deomid Ryabkovcesantabot
authored andcommitted
Add Timer.RUN_NOW
h/t @nliviu Closes: #10 CL: mjs: Add Timer.RUN_NOW PUBLISHED_FROM=57f763bc28d87736b08d0bec65aaec274bba1a95
1 parent 98fa2df commit 03b44d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/api_timer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ let Timer = {
2222
set: ffi('int mgos_set_timer(int,int,void(*)(userdata),userdata)'),
2323

2424
REPEAT: 1,
25+
RUN_NOW: 2,
2526

2627
// ## **`Timer.now()`**
2728
// Return current time as double value, UNIX epoch (seconds since 1970).

0 commit comments

Comments
 (0)