definy.sync-events-of-json
- description
- The events of a GetEvents response
- type
Fn(items: List<@definy.json>) -> List<@definy.stored-event>
- expression
fn(items$0) => @core.list-fold( T: @definy.json, A: List<@definy.stored-event>, reducer: fn(acc$1, item$2) => match @definy.sync-event-of-json(value: $2) { #some(event$3) => @core.list-append(list: $1, item: $3), #none(_) => $1 }, init: [], xs: $0 )
- visibility
- public
definy.sync-events-of-json (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo) id: e5faPn-s5JHpCwMj4oNf7wQnays2bQnmSr0OtGAtzpk content hash: kzyvem2wMkttbZ-uEllePT9ybiMFnBmH6D68j1F6bn0