mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +03:00
13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
|
/- spider
|
||
|
/+ strandio
|
||
|
=, strand=strand:spider
|
||
|
^- thread:spider
|
||
|
|= arg=vase
|
||
|
=/ m (strand ,vase)
|
||
|
^- form:m
|
||
|
=+ !<([arg=@dr ~] arg)
|
||
|
;< now-1=@da bind:m get-time:strandio
|
||
|
;< ~ bind:m (sleep:strandio arg)
|
||
|
;< now-2=@da bind:m get-time:strandio
|
||
|
(pure:m !>(`@dr`(sub now-2 now-1)))
|