mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
userspace: addressed TODOs and made %link-store compile
This commit is contained in:
parent
4b26b2dd71
commit
1f02c594a8
@ -29,9 +29,12 @@
|
||||
++ on-load
|
||||
|= =vase
|
||||
^- (quip card _this)
|
||||
:: TODO: get rid of all subscriptions in bowl
|
||||
:_ this
|
||||
[%pass /groups %agent [our.bowl %group-store] %leave ~]~
|
||||
:- [%pass /groups %agent [our.bowl %group-store] %leave ~]
|
||||
%+ turn ~(tap in ~(key by wex.bowl))
|
||||
|= [=wire =ship =term]
|
||||
^- card
|
||||
[%pass wire %agent [ship term] %leave ~]
|
||||
::
|
||||
++ on-agent on-agent:def
|
||||
++ on-poke on-poke:def
|
||||
|
@ -27,9 +27,13 @@
|
||||
++ on-load
|
||||
|= old-vase=vase
|
||||
^- (quip card _this)
|
||||
:: TODO: get rid of all subscriptions in bowl
|
||||
=/ paths
|
||||
%+ turn ~(val by sup.bowl)
|
||||
|=([=ship =path] path)
|
||||
:_ this
|
||||
[%pass /groups %agent [our.bowl %group-store] %leave ~]~
|
||||
:- [%pass /groups %agent [our.bowl %group-store] %leave ~]
|
||||
?~ paths ~
|
||||
[%give %kick paths ~]~
|
||||
::
|
||||
++ on-watch on-watch:def
|
||||
++ on-leave on-leave:def
|
||||
|
@ -150,7 +150,7 @@
|
||||
::
|
||||
++ on-bad-path
|
||||
|= [=path =links]
|
||||
^- (unit card)
|
||||
^- (list card)
|
||||
~| discarding-malformed-links+[path links]
|
||||
~
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user