chebyrash / promise

Promise / Future library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can it support to combined with a goroutine pool as the resource of the future using, like the Future In Java?

PursuingPing opened this issue · comments

Future I think it can make the code more clear without doubt, and sometimes it using the flight goroutine to running its 'Job', which is little not suitable for the web server. So can the future using the goroutine pool resource to running ? Thanks.

commented

It's possible to run the executor goroutine using a pool. Any of these should do the job.

commented

@PursuingPing there's now pool support available in master 🙂