inaka / worker_pool

Erlang worker pool
https://hex.pm/packages/worker_pool
Apache License 2.0
276 stars 80 forks source link

Wrong typespec for strategy() #48

Closed bullno1 closed 8 years ago

bullno1 commented 8 years ago

This should be {hash_worker, term()} instead: https://github.com/inaka/worker_pool/blob/master/src/wpool.erl#L37

elbrujohalcon commented 8 years ago

@bullno1 would you mind sending a PR with the change, please?