Agents 1.4.0
Edge AI Agents SDK
Loading...
Searching...
No Matches
agents::Executor Class Reference

A minimal executor implementation (fire-and-forget). More...

#include <coroutine_utils.h>

Public Member Functions

template<typename F>
void add (F &&f)
 Add a function to the executor.

Detailed Description

A minimal executor implementation (fire-and-forget).

Member Function Documentation

◆ add()

template<typename F>
void agents::Executor::add ( F && f)
inline

Add a function to the executor.

Template Parameters
FThe type of the function to run
Parameters
fThe function to run