summaryrefslogtreecommitdiff
path: root/src/worker_pool.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-06 13:16:38 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-06 13:16:38 +0100
commit59765b71999e62a394f45d5b4b0ad5cb53812b64 (patch)
tree88f4edfd2b5918f61930aa13a4459b7c665d5e3c /src/worker_pool.erl
parentd0a64ac6a7d82c4512e0926a54cdc41c8dfe4e71 (diff)
downloadrabbitmq-server-59765b71999e62a394f45d5b4b0ad5cb53812b64.tar.gz
cleanup
Diffstat (limited to 'src/worker_pool.erl')
-rw-r--r--src/worker_pool.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/worker_pool.erl b/src/worker_pool.erl
index a1e94fa8..3105d5f9 100644
--- a/src/worker_pool.erl
+++ b/src/worker_pool.erl
@@ -52,7 +52,8 @@
-ifdef(use_specs).
--spec(start_link/0 :: () -> rabbit_types:ok(pid()) | 'ignore' | rabbit_types:error(any())).
+-spec(start_link/0 ::
+ () -> rabbit_types:ok(pid()) | 'ignore' | rabbit_types:error(any())).
-spec(submit/1 :: (fun (() -> A) | {atom(), atom(), [any()]}) -> A).
-spec(submit_async/1 ::
(fun (() -> any()) | {atom(), atom(), [any()]}) -> 'ok').