View Source WorkflowMetal.Storage (workflow_metal v0.2.1)

Use the storage configured for a WorkflowMetal application.

Link to this section Summary

Functions

Get the configured storage adapter for the given application.

Link to this section Types

Specs

application() :: WorkflowMetal.Application.t()

Specs

Specs

Specs

Specs

config() :: keyword()

Specs

Specs

task_id() :: WorkflowMetal.Storage.Schema.Task.id()

Specs

task_schema() :: WorkflowMetal.Storage.Schema.Task.t()

Specs

Specs

Specs

Specs

Specs

token_states() :: [token_state(), ...]

Specs

Specs

Specs

Specs

workitem_id() :: WorkflowMetal.Storage.Schema.Workitem.id()

Specs

workitem_output() :: WorkflowMetal.Storage.Schema.Workitem.output()

Specs

workitem_schema() :: WorkflowMetal.Storage.Schema.Workitem.t()

Link to this section Functions

Link to this function

adapter(application, config)

View Source

Specs

adapter(application(), config()) :: {module(), config()}

Get the configured storage adapter for the given application.