panini
panini copied to clipboard
Python microframework for NATS messaging

add this arg to wait before start a task
Supports only default data_type atm
https://github.com/lwinterface/panini/blob/develop/panini/app.py#L212 - change to loop.run_until_complete here
When I mistakenly use function instead coroutine, I got salient error ``` @app.listen("some.publish.subject") async def receive_messages(msg): log.warning(f"got subject {msg.subject}") log.warning(f"got message {msg.data}") @app.listen("some.request.subject") async def receive_messages(msg): return {'success': True, "data":"some...
When returning result of request - client waits for a message, but it can be sent to another client or to another app, with no need to wait for it
make able to create App() from AppFactory class in order to have different ways to create app (from config file, json, env, etc) Also, there we can add creation of...