mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
zuse, gall, eyre: deprecate 'cush'
Replaces with 'internal-task'.
This commit is contained in:
parent
ef99074304
commit
38efc5e902
@ -50,7 +50,7 @@
|
||||
$: %g
|
||||
::
|
||||
::
|
||||
$% [%deal id=sock data=cush:gall]
|
||||
$% [%deal id=sock data=internal-task:gall]
|
||||
== == ==
|
||||
:: +sign: private response from another vane to ford
|
||||
::
|
||||
@ -809,7 +809,7 @@
|
||||
^- note
|
||||
:^ %g %deal [our our]
|
||||
::
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* app.act
|
||||
%poke
|
||||
%handle-http-request
|
||||
@ -857,7 +857,7 @@
|
||||
:: use a %handle arm instead of a sub-%poke with the
|
||||
:: %handle-http-request type.
|
||||
::
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* app.action
|
||||
%poke
|
||||
%handle-http-request
|
||||
@ -899,7 +899,7 @@
|
||||
^- note
|
||||
:^ %g %deal [our our]
|
||||
::
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* app.action.u.connection
|
||||
%poke
|
||||
%handle-http-cancel
|
||||
@ -1354,7 +1354,7 @@
|
||||
^- move
|
||||
:^ duct %pass /channel/poke/[channel-id]/(scot %ud request-id.i.requests)
|
||||
=, i.requests
|
||||
[%g %deal `sock`[our ship] `cush:gall`[app %punk mark %json !>(json)]]
|
||||
[%g %deal `sock`[our ship] `internal-task:gall`[app %punk mark %json !>(json)]]
|
||||
::
|
||||
$(requests t.requests)
|
||||
::
|
||||
@ -1368,7 +1368,7 @@
|
||||
^- move
|
||||
:^ duct %pass channel-wire
|
||||
=, i.requests
|
||||
[%g %deal [our ship] `cush:gall`[app %peel %json path]]
|
||||
[%g %deal [our ship] `internal-task:gall`[app %peel %json path]]
|
||||
::
|
||||
=. session.channel-state.state
|
||||
%+ ~(jab by session.channel-state.state) channel-id
|
||||
@ -1399,7 +1399,7 @@
|
||||
^- move
|
||||
:^ duc.u.maybe-subscription %pass channel-wire
|
||||
=, u.maybe-subscription
|
||||
[%g %deal [our ship] `cush:gall`[app %pull ~]]
|
||||
[%g %deal [our ship] `internal-task:gall`[app %pull ~]]
|
||||
::
|
||||
=. session.channel-state.state
|
||||
%+ ~(jab by session.channel-state.state) channel-id
|
||||
|
@ -6,9 +6,6 @@
|
||||
=, gall
|
||||
=> =~
|
||||
|%
|
||||
:: +internal-task: synonym for +cush
|
||||
::
|
||||
++ internal-task cush
|
||||
:: +agent-action: synonym for +club
|
||||
::
|
||||
++ agent-action club
|
||||
|
@ -1869,7 +1869,7 @@
|
||||
$~ [%vega ~] ::
|
||||
$% {$conf p/dock q/dock} :: configure app
|
||||
$>(%init vane-task) :: set owner
|
||||
{$deal p/sock q/cush} :: full transmission
|
||||
{$deal p/sock q/internal-task} :: full transmission
|
||||
$>(%vega vane-task) :: report upgrade
|
||||
$>(%west vane-task) :: network request
|
||||
[%wash ~] :: clear caches
|
||||
@ -1911,7 +1911,7 @@
|
||||
{$reap p/(unit tang)} :: peer result
|
||||
[%http-response =http-event:http] :: serve http result
|
||||
== ::
|
||||
++ cush (pair term club) :: internal task
|
||||
++ internal-task (pair term club) :: internal task
|
||||
++ dude term :: server identity
|
||||
++ gill (pair ship term) :: general contact
|
||||
++ scar :: opaque duct
|
||||
|
@ -272,7 +272,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-request/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-request
|
||||
!>([%.n %.n [%ipv4 .192.168.1.1] [%'GET' '/' ~ ~]])
|
||||
==
|
||||
@ -359,7 +359,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-request/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-request
|
||||
!>([%.n %.n [%ipv4 .192.168.1.1] [%'GET' '/' ~ ~]])
|
||||
==
|
||||
@ -448,7 +448,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-request/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-request
|
||||
!>([%.n %.n [%ipv4 .192.168.1.1] [%'GET' '/' ~ ~]])
|
||||
==
|
||||
@ -555,7 +555,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-request/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-request
|
||||
!>([%.n %.n [%ipv4 .192.168.1.1] [%'GET' '/~landscape/inner-path' ~ ~]])
|
||||
==
|
||||
@ -623,7 +623,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-request/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-request
|
||||
!> :*
|
||||
%.y
|
||||
@ -1809,7 +1809,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-request/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-request
|
||||
!>([%.n %.n [%ipv4 .192.168.1.1] [%'GET' '/' ~ ~]])
|
||||
==
|
||||
@ -1843,7 +1843,7 @@
|
||||
::
|
||||
%+ expect-gall-deal
|
||||
:+ /run-app-cancel/app1 [~nul ~nul]
|
||||
^- cush:gall
|
||||
^- internal-task:gall
|
||||
:* %app1 %poke %handle-http-cancel
|
||||
!>([%.n %.n [%ipv4 .192.168.1.1] [%'GET' '/' ~ ~]])
|
||||
==
|
||||
@ -1951,7 +1951,7 @@
|
||||
[output http-server-gate]
|
||||
::
|
||||
++ expect-gall-deal
|
||||
|= $: expected=[wire=path id=sock data=cush:gall]
|
||||
|= $: expected=[wire=path id=sock data=internal-task:gall]
|
||||
actual=(wind note:http-server-gate gift:able:http-server-gate)
|
||||
==
|
||||
^- tang
|
||||
|
Loading…
Reference in New Issue
Block a user