Initial commit
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# thread
|
||||
Smallest library that every project needs!
|
||||
|
||||
It just... Runs your function in new thread with decorator!
|
||||
|
||||
```bash
|
||||
pip install thread
|
||||
```
|
||||
|
||||
# Use
|
||||
```python
|
||||
from thread import threaded
|
||||
|
||||
@threaded
|
||||
def func():
|
||||
print("Printed from new thread!")
|
||||
func()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user