Documentation / @etherfold/browser / ProcessorContext
Type Alias: ProcessorContext<ABI, ProcessorConfig>
ProcessorContext<
ABI,ProcessorConfig> =ProcessorConfigextendsundefined?object:object
Defined in: core/dist/types.d.ts:199
What a KeepState keeper is told about the processor whose state it is storing.
version is REQUIRED, because every processor now has one: it is validated at construction (assertProcessorVersion), so an optional field here would only describe a state that can no longer exist, and every keeper that reads it would keep carrying a defensive branch for it.
Type Parameters
ABI
ABI extends Abi
ProcessorConfig
ProcessorConfig