Skip to content

Commit

Permalink
Add Timer.RUN_NOW
Browse files Browse the repository at this point in the history
h/t @nliviu

Closes: #10

CL: mjs: Add Timer.RUN_NOW

PUBLISHED_FROM=57f763bc28d87736b08d0bec65aaec274bba1a95
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Feb 28, 2019
1 parent 98fa2df commit 03b44d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/api_timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ let Timer = {
set: ffi('int mgos_set_timer(int,int,void(*)(userdata),userdata)'),

REPEAT: 1,
RUN_NOW: 2,

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

0 comments on commit 03b44d7

Please sign in to comment.