CompletionIdentityExtractor<CompletionType extends Logic> typedef
Projects a completion payload onto its reusable storage identity.
The returned fields are copied into an internal GenerationTaggedReference, so the extractor should only depend on the supplied completion payload and not on external storage state.
Implementation
typedef CompletionIdentityExtractor<CompletionType extends Logic> = ({
Logic index,
Logic generation,
})
Function(CompletionType completion);