Skip to content

Commit

Permalink
Fixed dialyzer spec for asyc_put
Browse files Browse the repository at this point in the history
  • Loading branch information
fadushin committed Mar 27, 2015
1 parent 9df7c69 commit 26a1ac6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/eleveldb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ write(Ref, Updates, Opts) ->
async_write(CallerRef, Ref, Updates, Opts),
?WAIT_FOR_REPLY(CallerRef).

-spec async_put(db_ref(), reference(), binary(), binary(), write_options()) -> ok.
async_put(Ref, Context, Key, Value, Opts) ->
Updates = [{put, Key, Value}],
async_write(Context, Ref, Updates, Opts),
Expand Down

0 comments on commit 26a1ac6

Please sign in to comment.