Skip to content

Commit

Permalink
Markdownified pubsub additions to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
knutin committed Jan 20, 2012
1 parent dff1c8d commit 7e929e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -37,13 +37,15 @@ Transactions:
{ok, [<<"OK">>, <<"OK">>]} = eredis:q(C, ["EXEC"]).

Pipelining:

P1 = [["SET", a, "1"],
["LPUSH", b, "3"],
["LPUSH", b, "2"]].
[{ok, <<"OK">>}, {ok, <<"1">>}, {ok, <<"2">>}] = eredis:qp(C, P1).


Pubsub:

1> eredis_sub:sub_test().
received {subscribed,<<"foo">>,<0.34.0>}
{<0.34.0>,<0.37.0>}
Expand Down

0 comments on commit 7e929e3

Please sign in to comment.