I understand that off-chain workers are spawned during block import, quote:
Offchain workers are spawned during each block import. However, they aren't executed during initial blockchain synchronization.
I was wondering if there is any way to configure OCWs to be spawned either:
- in specific intervals, e.g. every 10 blocks, or
- on demand (e.g. during block import on a specific height)
?