Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddDurableTaskScheduler

Method
📦 Aspire.Hosting.Azure.Functions v17.0.0
func (DistributedApplicationBuilder) AddDurableTaskScheduler(name string) DurableTaskSchedulerResource

Signature

methodAddDurableTaskSchedulerbuilder
Adds a Durable Task scheduler resource to the distributed application.
AddDurableTaskScheduler(name string) DurableTaskSchedulerResource
namestringThe logical name of the scheduler resource.
DurableTaskSchedulerResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder