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