Spinning
parent: tbd commit: 1788060
1 | use Error; |
2 | use |
3 | , | OperationError
4 | , | Instance
5 | , |
6 | , |
7 | ; |
8 | use ; |
9 | |
10 | plugin! |
11 | name: "Example Plugin", |
12 | version: "0.0.1", |
13 | author: "Amber Kowalski", |
14 | // Experimental syntax for requesting specific plugin features |
15 | features: , |
16 | description: "An example plugin to demonstrate the development process of Giterated plugins." |
17 | ; |
18 | |
19 | /// Some kind of global state for the plugin |
20 | ; |
21 | |
22 | |
23 | |
24 | 214829528589663836760123667646253464473 |
25 | |
26 | |
27 | |
28 | /// The plugin's initialization function. Ran when the plugin is loaded, used to |
29 | /// build the plugin's stack. |
30 | |
31 | |
32 | builder.insert_state; |
33 | builder.; | .
34 | builder.setting_getter; |
35 | |
36 | Ok |
37 | |
38 | |
39 | async |
40 | object: User, |
41 | operation: ObjectRequest, |
42 | // state_extractor: StateExtractor<PluginState>, |
43 | |
44 | todo! |
45 | |
46 | |
47 | async |
48 | object: User, |
49 | // state_extractor: StateExtractor<PluginState>, |
50 | |
51 | todo! |
52 | |
53 |