diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-10 15:50:17 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-07-10 15:50:17 -0400 |
commit | dc4f15e586112742cf54628e937e0f776022c953 (patch) | |
tree | eaac5088ea4da6f10aeb61c95eb6396fcf3972bd /src/fabric_util.erl | |
parent | 733c58a1e9f776f5f06c0c340571b6025276ffad (diff) |
thank you dialyzer
Diffstat (limited to 'src/fabric_util.erl')
-rw-r--r-- | src/fabric_util.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_util.erl b/src/fabric_util.erl index 3c27f19e..e928c5ff 100644 --- a/src/fabric_util.erl +++ b/src/fabric_util.erl @@ -28,7 +28,7 @@ receive_loop(Workers, Keypos, Fun, Acc0) -> %% @doc set up the receive loop with an overall timeout -spec receive_loop([any()], integer(), function(), any(), timeout(), timeout()) -> - {ok, any()}. + {ok, any()} | timeout | {error, any()}. receive_loop(RefPartMap, Keypos, Fun, Acc0, infinity, PerMsgTO) -> process_mailbox(RefPartMap, Keypos, Fun, Acc0, nil, PerMsgTO); receive_loop(RefPartMap, Keypos, Fun, Acc0, GlobalTimeout, PerMsgTO) -> |