Skip to content

Commit c51054e

Browse files
committed
Update generator docstring
1 parent c573cfd commit c51054e

File tree

1 file changed

+5
-5
lines changed
  • language-adaptors/rxjava-clojure/src/main/clojure/rx/lang/clojure

1 file changed

+5
-5
lines changed

language-adaptors/rxjava-clojure/src/main/clojure/rx/lang/clojure/core.clj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
Example:
433433
434434
(->> (rx/seq->o [1 2 3])
435-
(rx/do println)
435+
(rx/do println)
436436
...)
437437
438438
Will print 1, 2, 3.
@@ -884,8 +884,8 @@
884884
;################################################################################;
885885

886886
(defn generator*
887-
"Creates an observable that calls (f observable & args) which should emit values
888-
with (rx/on-next observable value).
887+
"Creates an observable that calls (f observer & args) which should emit values
888+
with (rx/on-next observer value).
889889
890890
Automatically calls on-completed on return, or on-error if any exception is thrown.
891891
@@ -902,8 +902,8 @@
902902
wrap-on-error)))
903903

904904
(defmacro generator
905-
"Create an observable that executes body which should emit a sequence. bindings
906-
should be a single [observer] argument.
905+
"Create an observable that executes body which should emit values with
906+
(rx/on-next observer value) where observer comes from bindings.
907907
908908
Automatically calls on-completed on return, or on-error if any exception is thrown.
909909

0 commit comments

Comments
 (0)