mirror of https://github.com/deavmi/libsnooze
- Explained how to get `libsnooze` properly imported and building in your project
This commit is contained in:
parent
e6b0b57ceb
commit
7ac6bc8622
13
README.md
13
README.md
|
@ -19,6 +19,19 @@ To see the full documentation (which is always up-to-date) check it out on [DUB]
|
|||
|
||||
## Usage
|
||||
|
||||
### Importing issues
|
||||
|
||||
Currently importing just with `import libsnooze` is broken, we recommend you import as follows:
|
||||
|
||||
```d
|
||||
import libsnooze.clib;
|
||||
import libsnooze;
|
||||
```
|
||||
|
||||
Which should build!
|
||||
|
||||
### Example
|
||||
|
||||
Firstly we create an `Event` which is something that can be notified or awaited on. This is simply accomplished as follows:
|
||||
|
||||
```d
|
||||
|
|
Loading…
Reference in New Issue