OwnedEventStorage.retained: def of bendvy-ecs-core@0.1.0.4
Import: import bendvy-ecs-core@0.1.0.4/owned_event_storage.bend as OwnedEventStorage
Lines 39-41 of bendvy-ecs-core@0.1.0.4/owned_event_storage.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/owned_event_storage.bend&start_line=39&end_line=41
import Base
import bendvy-ecs-core@0.1.0.4/owned_event_log.bend as Log
def retained(~R:Type,~P:Type,resource:R,result:Log.Log
& List>) -> Resources & List>:
match result:
case (log,retired):(Resources{resource,log},retired)
Uses (6):
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma
https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owned_event_log.bend&name=Log
https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owned_event_log.bend&name=Row
https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/owned_event_storage.bend&name=Resources