decode_owned_component.bend checks
raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/decode_owned_component.bend as Decode_owned_component
15 imports
import Base import ./change_tick.bend as Tick import ./decode_frame.bend as F import ./decode_owned_journal.bend as Journal import ./decode_requests.bend as Request import ./component.bend as Cmp import ./column.bend as Col import ./compose.bend as Query import ./capabilities.bend as Cap import ./world.bend as W import ./transaction.bend as T import ./bundle_batch.bend as Batch import ./decode_data.bend as D import ./ordinary_declaration.bend as Identity import ./persistence_declaration.bend as Declaration
Types
type Output source · line 17 · raw
@P:Type -> Type
Written@P:Type -> Output<P>
Refused@P:Type -> @owner:Maybe<&1, P> -> @error:0x67fd5084c1da4adc13317822045bb11f/world.WorldError -> Output<P>
Templates
template written source · line 18 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-identity:0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x67fd5084c1da4adc13317822045bb11f/decode_data.Raw)) -> @declaration:0x67fd5084c1da4adc13317822045bb11f/persistence_declaration.Constructed<S, P, identity, project> -> @prepared:List<&1, 0x67fd5084c1da4adc13317822045bb11f/bundle_batch.Prepared<S, 0x67fd5084c1da4adc13317822045bb11f/decode_requests.Packet<P>>> -> @handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @error:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/world.WorldError> -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @receipts:List<&1, 0x67fd5084c1da4adc13317822045bb11f/decode_owned_journal.Receipt<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/decode_requests.Packet<P>, Q>> -> @pending:List<&1, 0x67fd5084c1da4adc13317822045bb11f/decode_owned_journal.Pending<Q>> -> @result:0x67fd5084c1da4adc13317822045bb11f/component.SetResult<0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, P> -> Pair(0x67fd5084c1da4adc13317822045bb11f/decode_frame.Frame<S, Store, R, E, P, Q, identity, project>, Output<P>)
template set source · line 24 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-identity:0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x67fd5084c1da4adc13317822045bb11f/decode_data.Raw)) -> @-Rest:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @-family:0x67fd5084c1da4adc13317822045bb11f/component.Family<S, Store, Rest, P, V, Token, take, put, view> -> @frame:0x67fd5084c1da4adc13317822045bb11f/decode_frame.Frame<S, Store, R, E, P, Q, identity, project> -> @input:0x67fd5084c1da4adc13317822045bb11f/compose.Insert<S, P> -> Pair(0x67fd5084c1da4adc13317822045bb11f/decode_frame.Frame<S, Store, R, E, P, Q, identity, project>, Output<P>)
template grant source · line 28 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-identity:0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x67fd5084c1da4adc13317822045bb11f/decode_data.Raw)) -> @-Rest:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @-family:0x67fd5084c1da4adc13317822045bb11f/component.Family<S, Store, Rest, P, V, Token, take, put, view> -> 0x67fd5084c1da4adc13317822045bb11f/capabilities.OwnedRequest<0x67fd5084c1da4adc13317822045bb11f/decode_frame.Frame<S, Store, R, E, P, Q, identity, project>, 0x67fd5084c1da4adc13317822045bb11f/compose.Insert<S, P>, Output<P>>