bundle_insert_adapter.bend checks
raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/bundle_insert_adapter.bend as Bundle_insert_adapter
5 imports
import Base import bundle_batch.bend as BT import bundle_construction.bend as CS import world.bend as W import schema_fragments.bend as SF
Types
type Input source · line 7 · raw
@S:Data -> @Raw:Type -> Type
Input@S:Data -> @Raw:Type -> @target:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @raw:Raw -> Input<S, Raw>
type Refusal source · line 9 · raw
@Error:Data -> Data
ConstructionRefused@Error:Data -> @positions:List<&2, Maybe<&2, Error>> -> Refusal<Error>
EntityRefused@Error:Data -> @error:0x67fd5084c1da4adc13317822045bb11f/world.WorldError -> Refusal<Error>
DeclarationRefused@Error:Data -> @error:0x67fd5084c1da4adc13317822045bb11f/schema_fragments.Error -> Refusal<Error>
type Output source · line 13 · raw
@Raw:Type -> @Error:Data -> Type
Accepted@Raw:Type -> @Error:Data -> Output<Raw, Error>
Refused@Raw:Type -> @Error:Data -> @raw:Raw -> @error:Refusal<Error> -> Output<Raw, Error>
type Owner source · line 16 · raw
@S:Data -> @Store:Type -> @R:Type -> @E:Data -> @Packet:Type -> @Context:Type -> Type
Owner@S:Data -> @Store:Type -> @R:Type -> @E:Data -> @Packet:Type -> @Context:Type -> @batch:0x67fd5084c1da4adc13317822045bb11f/bundle_batch.Batch<S, Store, R, E, Packet> -> @context:Context -> Owner<S, Store, R, E, Packet, Context>
Templates
template inserted source · line 18 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Packet:Type -> @-Context:Type -> @-Raw:Type -> @-Error:Data -> @-unpack:(@_:Packet -> Raw) -> @context:Context -> @result:0x67fd5084c1da4adc13317822045bb11f/bundle_batch.Inserted<S, Store, R, E, Packet> -> Pair(Owner<S, Store, R, E, Packet, Context>, Output<Raw, Error>)
template constructed source · line 22 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Packet:Type -> @-Context:Type -> @-Raw:Type -> @-Cooked:Type -> @-Error:Data -> @-pack:(@_:Cooked -> @_:(@_:Cooked -> Raw) -> Packet) -> @-unpack:(@_:Packet -> Raw) -> @batch:0x67fd5084c1da4adc13317822045bb11f/bundle_batch.Batch<S, Store, R, E, Packet> -> @target:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @result:0x67fd5084c1da4adc13317822045bb11f/bundle_construction.Staged<Context, Raw, Cooked, Error> -> Pair(Owner<S, Store, R, E, Packet, Context>, Output<Raw, Error>)
template request source · line 26 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Packet:Type -> @-Context:Type -> @-Raw:Type -> @-Cooked:Type -> @-Error:Data -> @-construct:(@_:Context -> @_:Raw -> 0x67fd5084c1da4adc13317822045bb11f/bundle_construction.Staged<Context, Raw, Cooked, Error>) -> @-pack:(@_:Cooked -> @_:(@_:Cooked -> Raw) -> Packet) -> @-unpack:(@_:Packet -> Raw) -> @owner:Owner<S, Store, R, E, Packet, Context> -> @input:Input<S, Raw> -> Pair(Owner<S, Store, R, E, Packet, Context>, Output<Raw, Error>)