Skip to content
DocsTry Aspire
DocsTry

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

methodaddTaskHubbuilder
Adds a Durable Task hub resource associated with the specified scheduler.
addTaskHub(name: string): DurableTaskHubResource
namestring
DurableTaskHubResource
methodrunAsEmulatorbuilder
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
methodrunAsExistingbuilder
Configures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
runAsExisting(connectionString: ParameterResource): DurableTaskSchedulerResource
connectionStringParameterResource
DurableTaskSchedulerResource