[#bsl-stop_callback-01]
= xref:bsl.adoc[bsl]::xref:bsl/stop_callback-06.adoc[stop&lowbar;callback&lt;t&lowbar;CALLBACK&gt;]
:relfileprefix: ../
:mrdocs:

Deduce `t&lowbar;CALLBACK` from the type of the callable passed to `stop&lowbar;callback`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stoptoken&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;CALLBACK&gt;
xref:bsl/stop_callback-06.adoc[stop&lowbar;callback&lt;t&lowbar;CALLBACK&gt;](
    xref:bsl/stop_token.adoc[stop&lowbar;token],
    t&lowbar;CALLBACK) -> xref:bsl/stop_callback-06.adoc[stop&lowbar;callback&lt;t&lowbar;CALLBACK&gt;];
----


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