Skip to content

Durable Functions Support? #91

@JoshHariz

Description

@JoshHariz

Hi,

Does this package support durable functions? I'm finding it difficult to figure out how to pass objects such as a DurableTaskClient into my functions. I want to pass the real thing so that the function will spin up orchestrators and activities during the test without me having to mock or specify them.

[Function(nameof(ServiceBusFunction))]
public async Task ServiceBusFunction(
  [ServiceBusTrigger(Topics.Finance,
  Connection = Constants.SbConnectionKeyName,AutoCompleteMessages = true)] ServiceBusReceivedMessage message,
  ServiceBusMessageActions messageActions,
  [DurableClient] DurableTaskClient starter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions