<titledata-rh="true">Interface: CancellationToken | Podman Desktop</title><metadata-rh="true"name="viewport"content="width=device-width,initial-scale=1"><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:image"content="https://podman-desktop.io/img/banner_podman-desktop.png"><metadata-rh="true"name="twitter:image"content="https://podman-desktop.io/img/banner_podman-desktop.png"><metadata-rh="true"property="og:url"content="https://podman-desktop.io/api/interfaces/CancellationToken"><metadata-rh="true"property="og:locale"content="en"><metadata-rh="true"name="docusaurus_locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docusaurus_version"content="current"><metadata-rh="true"name="docusaurus_tag"content="docs-api-current"><metadata-rh="true"name="docsearch:version"content="current"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-api-current"><metadata-rh="true"property="og:title"content="Interface: CancellationToken | Podman Desktop"><metadata-rh="true"name="description"content="A cancellation token is passed to an asynchronous or long running"><metadata-rh="true"property="og:description"content="A cancellation token is passed to an asynchronous or long running"><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://podman-desktop.io/api/interfaces/CancellationToken"><linkdata-rh="true"rel="alternate"href="https://podman-desktop.io/api/interfaces/CancellationToken"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://podman-desktop.io/api/interfaces/CancellationToken"hreflang="x-default"><linkdata-rh="true"rel="preconnect"href="https://MR01ANKQ9S-dsn.algolia.net"crossorigin="anonymous"><linkrel="alternate"type="application/rss+xml"href="/blog/rss.xml"title="Podman Desktop RSS Feed">
<linkrel="alternate"type="application/atom+xml"href="/blog/atom.xml"title="Podman Desktop Atom Feed">
<h2class="anchor anchorWithStickyNavbar_JmGV"id="properties">Properties<ahref="#properties"class="hash-link"aria-label="Direct link to Properties"title="Direct link to Properties"></a></h2>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="iscancellationrequested">isCancellationRequested<ahref="#iscancellationrequested"class="hash-link"aria-label="Direct link to isCancellationRequested"title="Direct link to isCancellationRequested"></a></h3>
<h4class="anchor anchorWithStickyNavbar_JmGV"id="defined-in">Defined in<ahref="#defined-in"class="hash-link"aria-label="Direct link to Defined in"title="Direct link to Defined in"></a></h4>
<h3class="anchor anchorWithStickyNavbar_JmGV"id="oncancellationrequested">onCancellationRequested<ahref="#oncancellationrequested"class="hash-link"aria-label="Direct link to onCancellationRequested"title="Direct link to onCancellationRequested"></a></h3>
<h4class="anchor anchorWithStickyNavbar_JmGV"id="defined-in-1">Defined in<ahref="#defined-in-1"class="hash-link"aria-label="Direct link to Defined in"title="Direct link to Defined in"></a></h4>