Example Plugin 3

A third example plugin demonstrating async operations and simple data storage.

Features

  • Async data fetching hook
  • Data storage hook
  • Periodic status reporting

Hooks

fetch-data

Retrieves stored data by key.

Usage:

const value = await context.runHook('fetch-data', 'myKey');

store-data

Stores data with a key.

Usage:

await context.runHook('store-data', 'myKey', 'myValue');

Installation

Install via Plugin Host interactive installer or manually clone:

git clone http://synbox.ruv.wtf:8418/litruv/Plugin-Example3.git
Description
No description provided
Readme 31 KiB
Languages
JavaScript 100%