Initial commit: Example Plugin 3 with async operations

This commit is contained in:
2026-04-17 03:00:27 +10:00
commit 3bb85bd101
3 changed files with 79 additions and 0 deletions

34
README.md Normal file
View File

@@ -0,0 +1,34 @@
# 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:**
```javascript
const value = await context.runHook('fetch-data', 'myKey');
```
### store-data
Stores data with a key.
**Usage:**
```javascript
await context.runHook('store-data', 'myKey', 'myValue');
```
## Installation
Install via Plugin Host interactive installer or manually clone:
```bash
git clone http://synbox.ruv.wtf:8418/litruv/Plugin-Example3.git
```