mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
/- spider
|
|
/+ *ph-io, *ph-util
|
|
=, strand=strand:spider
|
|
^- thread:spider
|
|
|= vase
|
|
=/ m (strand ,vase)
|
|
;< =bowl:spider bind:m get-bowl
|
|
;< ~ bind:m start-simple
|
|
:: must be a better way to background threads
|
|
|-
|
|
=* loop $
|
|
;< ~ bind:m (sleep ~s5)
|
|
loop
|