urbit/pkg/arvo/app/time.hoon

24 lines
368 B
Plaintext
Raw Normal View History

::
:::: /hoon/time/app
::
/? 310
|%
++ card {$wait wire @da}
--
|_ {bowl:gall ~}
++ poke-noun
|= *
:_ +>.$ :_ ~
[ost %wait /(scot %da now) +(now)]
::
++ wake
2019-04-13 01:48:22 +03:00
|= {wir/wire error=(unit tang)}
2018-03-19 07:18:20 +03:00
?> ?=({@ ~} wir)
2019-04-13 01:48:22 +03:00
?^ error
%- (slog u.error)
~& %time-behn-failed
[~ +>.$]
~& [%took `@dr`(sub now (slav %da i.wir))]
[~ +>.$]
--