IRC Logs for #circuits Wednesday, 2014-09-10

*** cfarmer_ has quit IRC00:32
*** cfarmer_ has joined #circuits00:32
*** cfarmer_ has quit IRC00:32
xMopxShellhey, is there a way i can start a task for a worker to do with this: http://circuits.readthedocs.org/en/latest/api/circuits.core.html?highlight=call#circuits.core.Manager.call01:13
xMopxShelland have it run in the background01:14
xMopxShellinstead of yield <that> and blocking until it's done01:14
prologicwell the task will ruin in the background by default anyweay01:15
prologicif you’re using Worker and fireing task() events at it01:15
prologicsorry I must be misunderstanding :)01:15
prologicyou can instead of call/wait (waitintg for the task to complete)01:16
prologicusing the control flow / coroutine primitives01:16
prologicyou could listen for task_success01:16
prologicand/or task_faliure01:16
xMopxShellOh ok i see01:17
xMopxShellso the difference between call and fire01:17
xMopxShellis that call, the task is suspended until you yield from it?01:18
prologicwell so call/wait are coroutines primitives01:20
prologicthe idea behind them being:01:20
prologicyield self.call(task(f, args), “worker”)01:20
prologicbasically allowing you to synchornously call the event in your event handler01:20
xMopxShellgotcha01:21
xMopxShelli might try writing an irc bot using circuits, to learn01:21
xMopxShellive seen the example :)01:21
xMopxShellive done one in the past based around asynchat01:21
prologicahh yeap01:27
prologicyou should find it enjoyable :)01:27
prologicSee also: https://bitbucket.org/prologic/kdb01:28
prologichttps://bitbucket.org/prologic/irclogger01:28
prologichttps://bitbucket.org/prologic/ircnotifier01:28
prologicall in active use and development :)01:28
prologicAlso see: https://bitbucket.org/prologic/charla01:28
prologicrunning on /server shortcircuit.net.au 666701:28
prologicsorry /server arrow.shortcircuit.net.au 666701:29
prologic:)01:29
*** Workster has joined #circuits01:29
*** cfarmer_ has joined #circuits01:33
*** cfarmer_ has quit IRC01:37
*** realzies has quit IRC01:44
*** cfarmer_ has joined #circuits01:51
*** cfarmer_ has quit IRC02:26
*** cfarmer_ has joined #circuits02:27
*** maxwellwood has joined #circuits02:30
maxwellwoodis any1 here real?02:30
*** maxwellwood has left #circuits ()02:30
prologicyeap02:31
prologicwe all are02:31
prologicoh d’oh :)02:31
*** cfarmer_ has quit IRC02:31
*** cfarmer_ has joined #circuits03:20
*** cfarmer_ has quit IRC03:25
*** Osso_ has quit IRC05:01
*** Workster has quit IRC06:05
*** Osso_ has joined #circuits07:28
*** Osso_ has quit IRC10:30
*** tariq786_lab has joined #circuits16:15
*** tariq786 has quit IRC16:16
Yamahi16:17
*** tariq786 has joined #circuits18:11
*** Osso_ has joined #circuits20:39
*** realzies has joined #circuits20:44
prologichi tariq78621:04
prologichow can we help?21:05

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!