Skip to content

Commit

Permalink
Fix msg_input type spec
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Mar 14, 2019
1 parent 19438ae commit e9ed3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/brod.erl
Expand Up @@ -168,8 +168,8 @@
-type value() :: undefined %% no value, transformed to <<>>
| iodata() %% single value
| {msg_ts(), binary()} %% one message with timestamp
| ?KV(key(), value()) %% backward compatible
| ?TKV(msg_ts(), key(), value()) %% backward compatible
| [?KV(key(), value())] %% backward compatible
| [?TKV(msg_ts(), key(), value())] %% backward compatible
| kpro:msg_input() %% one magic v2 message
| kpro:batch_input(). %% maybe nested batch

Expand Down

0 comments on commit e9ed3ac

Please sign in to comment.