> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method ExecuteAsync

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

## ExecuteAsync(ComponentRunRequest, CancellationToken?)

Requests a run of the pacz.

Depending on the implementation, the actual run may be serialized or parallelized.

Clients should always send all input variables to every run and not assume that state
will be maintained between calls to ExecuteAsync.

```csharp theme={null}
Task<ComponentRunResults> ExecuteAsync(ComponentRunRequest request, CancellationToken? cancel)

```

### Parameters

`request` [ComponentRunRequest](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.ComponentRunRequest)

The object that defines the run.

`cancel` [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken)?

A cancellation token that may be used to cancel the run request.

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[ComponentRunResults](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentAPI.ComponentRunResults)>

A task that will return the run results when they are finished.
