00:05:50  * GrumpyPixelAwayquit (Ping timeout: 252 seconds)
00:35:44  * eh_effquit (Quit: WeeChat 1.1)
00:36:36  * nicholaswyoungjoined
00:39:03  * hmsimhaquit (Ping timeout: 252 seconds)
00:40:08  * crzrcnquit (Quit: Leaving.)
00:43:20  * TheAceOfHeartsquit (Quit: Leaving.)
00:44:17  * basicdaysquit (Quit: I'm out)
00:46:32  * basicdaysjoined
00:47:48  * Foxandxssquit (Quit: Textual IRC Client: www.textualapp.com)
01:08:37  * hmsimhajoined
01:09:00  * sojquit (Ping timeout: 272 seconds)
01:31:15  * TheAceOfHeartsjoined
01:36:15  * GrumpyPixeljoined
02:30:21  * GrumpyPixelquit (Ping timeout: 250 seconds)
02:38:13  * hmsimhaquit (Ping timeout: 252 seconds)
02:46:15  * GrumpyPixelAwayjoined
02:46:39  * GrumpyPixelAwaychanged nick to GrumpyPixel
02:48:37  * TheThingquit (Remote host closed the connection)
03:15:58  * nicholaswyoungquit (Quit: Be back later ...)
03:16:24  * nicholaswyoungjoined
03:19:03  * hmsimhajoined
03:46:20  * nicholaswyoungquit (Ping timeout: 264 seconds)
04:21:46  * nicholaswyoungjoined
04:36:03  * sojjoined
04:51:18  * basicdaysquit (Ping timeout: 272 seconds)
05:07:04  * basicdaysjoined
05:14:57  * basicdaysquit (Quit: I'm out)
07:09:25  * TheAceOfHeartsquit (Quit: Leaving.)
13:05:57  * nicholaswyoungquit (Quit: Lingo: www.lingoirc.com)
13:27:15  * TheThingjoined
14:38:48  * UniOnjoined
15:55:13  * sojquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:09:51  * corbanbjoined
16:20:31  * sojjoined
16:21:59  * shesekquit (Ping timeout: 244 seconds)
16:55:22  * eh_effjoined
17:16:53  * TheAceOfHeartsjoined
17:28:50  * Limixjoined
17:30:24  <kudos>can anyone explain to me the point of co?
17:31:58  <kudos>the only case I've needed it for so far is using co.wrap on eventemitter callbacks
17:32:36  <kudos>but basically everyone talking about generators and koa talks about co like it's the only reason generators work at all
17:47:37  * crzrcnjoined
17:55:11  * TheAceOfHeartsquit (Quit: Leaving.)
17:58:44  * TheAceOfHeartsjoined
18:01:19  * corbanbquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18:03:43  * Hestiljoined
18:37:25  * Foxandxssjoined
18:41:00  * mhernandez1joined
18:48:56  * TheAceOfHeartsquit (Quit: Leaving.)
19:09:53  * TheAceOfHeartsjoined
19:21:42  * nicholaswyoungjoined
19:27:43  * crzrcnquit (Quit: Leaving.)
19:28:14  * crzrcnjoined
19:31:14  * crzrcnquit (Client Quit)
19:31:31  * corbanbjoined
19:33:43  * eh_effquit (Ping timeout: 256 seconds)
19:36:16  * crzrcnjoined
19:40:04  * crzrcnquit (Client Quit)
19:41:17  * crzrcnjoined
19:43:41  * crzrcnquit (Client Quit)
19:44:06  * crzrcnjoined
19:46:11  * crzrcnquit (Client Quit)
19:58:43  * Limixquit (Quit: Limix)
19:58:56  * crzrcnjoined
19:59:25  * TheAceOfHeartsquit (Quit: Leaving.)
20:00:44  <danneu>kudos: in koa your routes (generators) are already yielded by koa
20:01:23  <danneu>kudos: but now try to use one of your generators (like your db functions) outside of a route. boom. you need to use co.
20:02:03  <danneu>or, in a route, if you want to yield a generator in the background (like send an email without holding up the request) then you'll use co inside the route
20:02:21  <danneu>co(sendEmail(from, to, subject, body))
20:02:26  * TheAceOfHeartsjoined
20:03:03  <danneu>ps, koa uses co.
20:07:33  <kudos>why would you yield a generator when you want it to run in the background?
20:08:06  <kudos>so far I understand why you'd want to use co at the top level of scope
20:09:13  <danneu>kudos: generator doesnt do jack shit until you yield it
20:09:38  <kudos>danneu: you can yield a promise
20:10:10  <danneu>co defines that behavior
20:11:00  <kudos>so I guess for that kind of scenario, co makes sense if you're dealing with 3rd party libs?
20:11:17  <kudos>otherwise, wouldn't you just refactor your own library into being more suitable
20:12:30  <danneu>not sure what youre asking. with 3rd party libs you often just wrap them in a promise
20:12:44  <danneu>in their callback, you resolve. if (err), reject
20:13:16  <danneu>npm module 'promissory' does this for you for that general (err, result) callback pattern
20:15:07  <kudos>co
20:29:55  <kudos>lol, that's where I typed that :P
20:52:46  * corbanbquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:08:45  * eh_effjoined
21:55:03  * mhernandez1quit (Remote host closed the connection)
23:01:07  * Hestilquit (Ping timeout: 256 seconds)
23:24:41  * nicholaswyoungquit (Quit: Lingo: www.lingoirc.com)
23:26:28  * nicholaswyoungjoined
23:28:32  * mhernandez1joined
23:40:35  * crzrcnquit (Quit: Leaving.)
23:51:39  * nicholaswyoungquit (Ping timeout: 252 seconds)
23:52:12  * nicholaswyoungjoined