dill: fall back to default session

This lets us support the "random userspace app sending dill belts".
Ultimately, we'll want to be able to specify a session identifier
alongside the belt, instead of strictly relying on the duct.
This commit is contained in:
fang 2020-10-24 01:22:29 +02:00
parent eb824f1866
commit 83d46dae88
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -389,6 +389,9 @@
..^$(eye.all (~(del ju eye.all) duct.task hen)) ..^$(eye.all (~(del ju eye.all) duct.task hen))
:: ::
=/ nus (ax hen) =/ nus (ax hen)
=? nus &(?=(~ nus) ?=(^ hey.all))
::TODO allow specifying target session in task
(ax u.hey.all)
?~ nus ?~ nus
:: :hen is an unrecognized duct :: :hen is an unrecognized duct
:: could be before %boot (or %boot failed) :: could be before %boot (or %boot failed)