langgoap.run_guards_async

langgoap.run_guards_async#

async run_guards_async(guards, action, world_state)[source]#

Run all guards concurrently via asyncio.gather().

Sync guards are dispatched to a thread executor; async guards are awaited directly. Per-guard exceptions are caught and converted into WARN results.

Parameters:
Returns:

GuardResult for every guard.

Return type:

list[GuardResult]