Browse Source

fix take,drop

Namdak Tonpa 7 years ago
parent
commit
46d69e44f0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      man/kvs_stream.htm

+ 2 - 2
man/kvs_stream.htm

@@ -304,7 +304,7 @@
 </code></figure>
 
 <a name=take></a>
-<h4>take(N,#cur{}) -> list().</h4>
+<h4>take(#cur{args=N::integer()}) -> list().</h4>
 
 <p>Trying to consume N records from stream using its current value and direction.
    Returns consumed data. Usually you seek to some position and then consume some data.</p>
@@ -323,7 +323,7 @@
 </code></figure>
 
 <a name=drop></a>
-<h4>drop(N,#cur{}) -> #cur{}.</h4>
+<h4>drop(#cur{args=N::integer()}) -> #cur{}.</h4>
 
 <p>Drops N elements starting from reader.</p>