# @strutvane/workflows

> Durable workflows, approvals, timers and state machines.

Source: https://vishwajit-vm.github.io/strutvane-docs/docs/0.2.x/packages/workflows/

> **Proposed: planned for a later release (phase 7)**

Durable workflows, approvals, timers and state machines.

**What using it will look like** (a proposal; names may change):

```ts
export default defineWorkflow('approve-invoice', async (flow, invoice) => {
  await flow.waitFor('approved', { timeout: '7 days' })
})
```

- **npm:** `@strutvane/workflows`
- **Laravel equivalent:** No first-party Laravel equivalent
- **Phase:** 7
- **Docs:** https://vishwajit-vm.github.io/strutvane-docs/docs/0.2.x/packages/workflows/
