[#util-TaskRunnerInterface-insert]
= xref:util.adoc[util]::xref:util/TaskRunnerInterface.adoc[TaskRunnerInterface]::insert
:relfileprefix: ../../
:mrdocs:

The callback can either be queued for later&sol;asynchronous&sol;threaded processing, or be executed immediately for synchronous processing&period;

== Synopsis

Declared in `&lt;util&sol;task&lowbar;runner&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
insert(std::function&lt;void()&gt; func) = 0;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *func*
| The callback to schedule for processing&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
