workflow-es-azure
v2.1.0
Published
Azure providers for Workflow ES
Readme
Azure providers for Workflow ES
Provides distributed lock management and queue services on Workflow ES using Azure Storage.
Installing
Install the npm package "workflow-es-azure"
> npm install workflow-es-azure --saveUsage
Use the .useLockManager() and .useQueueManager() methods when setting up your workflow host.
const workflow_es = require("workflow-es");
const workflow_azure = require("workflow-es-azure");
...
var config = workflow_es.configureWorkflow();
config.useLockManager(new workflow_azure.AzureLockManager('Azure storage connection string'));
config.useQueueManager(new workflow_azure.AzureQueueProvider('Azure storage connection string'));
var host = config.getHost();
...
await host.start();