mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-06 23:12:22 +02:00
11 lines
353 B
Python
11 lines
353 B
Python
"""Dispatcher doubles must simulate the receipt boundary as well as the result."""
|
|
from src.agent_runtime.journal import mark_dispatch, record_action
|
|
|
|
|
|
def authoritative_executor(function):
|
|
@record_action
|
|
async def execute(block, *args, **kwargs):
|
|
mark_dispatch()
|
|
return await function(block, *args, **kwargs)
|
|
return execute
|