Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RunAsEmulator

Method
📦 Aspire.Hosting.Azure.Functions v17.0.0
func (DurableTaskSchedulerResource) RunAsEmulator(options ...*RunAsEmulatorOptions) DurableTaskSchedulerResource

Signature

methodRunAsEmulatorbuilder
Configures the Durable Task scheduler to run using the local emulator (only in non-publish modes).
RunAsEmulator(options ...*RunAsEmulatorOptions) DurableTaskSchedulerResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*RunAsEmulatorOptions argument.

ConfigureContainerfunc(obj DurableTaskSchedulerEmulatorResource)callbackCallback that exposes underlying container used for emulation to allow for customization.
DurableTaskSchedulerResource

The resource builder.

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

Applies to

This method applies to the following types: