diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-03-23 14:44:11 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-03-23 14:44:11 +0000 |
| commit | e072f8017605a52eab069a4eb8415f5dcf7a3097 (patch) | |
| tree | 78649e4e6d02f51cb37f0ab39e27938cffdd4d68 /src | |
| parent | 5f05e16a74a05c9965a3e757980d564ae2204d43 (diff) | |
| download | rabbitmq-server-git-e072f8017605a52eab069a4eb8415f5dcf7a3097.tar.gz | |
Since we use callback() to call serialise_events() this can now return a boolean(). It's probably nicer to add the type here than add another function.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_exchange.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl index 622eb9f1f0..504cf93517 100644 --- a/src/rabbit_exchange.erl +++ b/src/rabbit_exchange.erl @@ -72,7 +72,8 @@ -spec(maybe_auto_delete/1:: (rabbit_types:exchange()) -> 'not_deleted' | {'deleted', rabbit_binding:deletions()}). --spec(callback/3:: (rabbit_types:exchange(), atom(), [any()]) -> 'ok'). +-spec(callback/3:: (rabbit_types:exchange(), atom(), [any()]) -> + boolean() | 'ok'). -endif. |
