@fougere/calls
Optional call log for Fougere: a bounded ring of every dispatch, served as an rpc operation. Read it with fougere devtools.
Use it
npm install @fougere/calls
pnpm add @fougere/calls
bun add @fougere/calls
yarn add @fougere/calls
// fougere.config.ts
export default defineFougere({
fronds: { '@fougere/calls': {} },
});
The key names the package, and every process that reads the config calls its calls() export and rises with it. Options that are more than a word go where the extension is built — in a frond's extensions/, or in createApp({ extensions }).
Entries: @fougere/calls
What you import
| name | |
|---|---|
CALLS_OP | |
calls | What this process dispatched, kept in a bounded ring and served as an rpc operation. |
Types
TypeScript types only — they do not run. Import them with import type to type your own code: a variable, a parameter, an option object.
| name | |
|---|---|
CallPage | |
CallRecord | |
CallsOptions |