Skip to content
Docs Try Aspire
Docs Try

DurableTaskSchedulerResource

Handle
📦 Aspire.Hosting.Azure.Functions v13.4.0
interface DurableTaskSchedulerResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithEndpoints,
IValueProvider,
IValueWithReferences {
addTaskHub(name: string): DurableTaskHubResource;
runAsEmulator(configureContainer?: (obj: DurableTaskSchedulerEmulatorResource) => Promise<void>): DurableTaskSchedulerResource;
runAsExisting(connectionString: ParameterResource): DurableTaskSchedulerResource;
}

Methods

method addTaskHub builder
Adds a Durable Task hub resource associated with the specified scheduler.
addTaskHub(name: string): DurableTaskHubResource
name string
DurableTaskHubResource
method runAsEmulator builder
Configures the Durable Task scheduler to run using the local emulator (only in non-publish modes).
runAsEmulator(configureContainer?: (obj: DurableTaskSchedulerEmulatorResource) => Promise<void>): DurableTaskSchedulerResource
configureContainer (obj: DurableTaskSchedulerEmulatorResource) => Promise<void> optional
DurableTaskSchedulerResource
method runAsExisting builder
Configures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
runAsExisting(connectionString: ParameterResource): DurableTaskSchedulerResource
connectionString ParameterResource
DurableTaskSchedulerResource