*** ircnotifier has quit IRC | 06:59 | |
*** kdb_ has joined #circuits | 07:16 | |
*** ircnotifier has joined #circuits | 07:18 | |
kdb_ | Heya ircnotifier | 07:18 |
---|---|---|
Romster | -_- | 07:20 |
*** kdb_ has quit IRC | 09:28 | |
*** Osso has joined #circuits | 10:56 | |
*** Osso has quit IRC | 10:58 | |
*** Romster has quit IRC | 11:52 | |
*** Romster has joined #circuits | 11:52 | |
*** Osso has joined #circuits | 13:12 | |
*** Osso_ has joined #circuits | 13:43 | |
*** Osso has quit IRC | 13:45 | |
robert_ | lmao | 14:12 |
robert_ | Romster: how goes? | 14:12 |
*** Osso has joined #circuits | 14:56 | |
Romster | robert_, i'm going good | 15:07 |
robert_ | fun. :D | 15:07 |
*** Osso has quit IRC | 15:58 | |
*** Osso has joined #circuits | 15:58 | |
*** Osso has quit IRC | 17:40 | |
*** Osso has joined #circuits | 17:40 | |
*** Osso has quit IRC | 17:53 | |
robert_ | hm, prologic- what happens if a component is busy doing something when it receives an event? | 19:21 |
*** Osso has joined #circuits | 19:50 | |
*** Osso has quit IRC | 20:31 | |
*** Osso has joined #circuits | 20:31 | |
prologic | robert_, not possible | 21:08 |
prologic | event handlers will block the event loop | 21:08 |
prologic | so don't do CPU bound work in them | 21:09 |
prologic | use the Worker() component | 21:09 |
prologic | and fire task() events at it | 21:09 |
prologic | events are handled one at a time | 21:09 |
prologic | asynchronously | 21:09 |
*** Osso has quit IRC | 21:23 | |
*** Osso has joined #circuits | 21:24 | |
robert_ | ah, okay. | 21:29 |
robert_ | prologic: got an example? | 21:29 |
prologic | https://bitbucket.org/circuits/circuits/src/d3cfceeb4b8f52792f652256a5353bb8e26881f7/tests/core/test_worker_process.py?at=default | 21:48 |
prologic | https://bitbucket.org/ccaih/ccav/src/tip/src/ccav/api/map.py#cl-135 | 21:49 |
prologic | You can also take advantage of circuits builtin coro/sync features and perform "work" inside an event handler iteratively | 21:51 |
*** Osso has quit IRC | 22:27 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!