enhancementexecutiongood first issuepriority-low
Repository metrics
- Stars
- (37 stars)
- PR merge metrics
- (PR metrics pending)
Description
I foresee an opt-int feature where there is an AtomicBool passed via reference to the interpreter_loop function. When activated (set to true), it causes the execution to yield with a resumable state. This provides another way to implement preemption, without having to tap into fuel, one simply has to set that bool to true e.g. via interrupt.