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