Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / path / flowEventFilePath

Function: flowEventFilePath()

flowEventFilePath(flowFolder, eventFileName): string

Defined in: packages/fireflow-vfs/src/path/flow-package.ts:197

Get path to specific event file within flow package.

Parameters

flowFolder

string

Path to .fflow folder

eventFileName

string

Event file name (e.g., 'my-event.ffevent')

Returns

string

Path to the event file

Example

ts
flowEventFilePath('workflows/my-flow.fflow', 'my-event.ffevent')
// → 'workflows/my-flow.fflow/events/my-event.ffevent'

Licensed under BUSL-1.1