Browse Source

fix typespec

Namdak Tonpa 6 years ago
parent
commit
62a76cd022
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/kvs.hrl

+ 1 - 1
include/kvs.hrl

@@ -9,7 +9,7 @@
 
 -record(reader,  {id    = [] :: term(), % phone_id | {p2p,_,_} | {muc,_,_}
                   pos   = 0 :: [] | integer(),
-                  cache = [] :: [] | integer(),
+                  cache = [] :: [] | integer() | {atom(),term()},
                   args  = [] :: term(),
                   feed  = [] :: term(), % {p2p,_,_} | {muc,_} -- link to writer
                   dir   =  0 :: 0 | 1}).