diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-18 11:49:28 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-18 11:49:28 -0400 |
| commit | 0a46a3e35bd2a960e66345de83877b4bc3144c48 (patch) | |
| tree | ff519209cd2a89bb7f599bc41b0af6ada92709d9 /msg.proto | |
| parent | 360c50b52eb886007659a93cc9437adfb5e94ca3 (diff) | |
First pass at setTimeout
Diffstat (limited to 'msg.proto')
| -rw-r--r-- | msg.proto | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -10,6 +10,8 @@ message Msg { SourceCodeFetchResMsg source_code_fetch_res = 12; SourceCodeCacheMsg source_code_cache = 13; ExitMsg exit = 14; + TimerStartMsg timer_start = 15; + TimerReadyMsg timer_ready = 16; } } @@ -33,3 +35,14 @@ message SourceCodeCacheMsg { } message ExitMsg { int32 code = 1; } + +message TimerStartMsg { + int32 id = 1; + bool interval = 2; + int32 duration = 3; // In milliseconds. +} + +message TimerReadyMsg { + int32 id = 1; + bool done = 2; +} |
