Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bobymicroby committed May 14, 2019
1 parent b4f70ab commit ab58369
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions elmo/src/main/kotlin/dev/boby/elmo/Elmo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,23 @@ import io.reactivex.subjects.PublishSubject
* @param Command Type of the commands that trigger side-effects.
*
* @property none Marks one of your Command classes as the none (no-op) command.
* @property updateScheduler Used for executing [update] method calls and subscribing
* to the observables returned from [call].
* @property updateScheduler Used for executing [update] method calls and subscribing to the
* observable returned from [call]
*
*
*
*/
interface CommandUpdate<Model, Message, Command> {


/**
* Marks one of your Command classes as the none (no-op) command.
*/
val none: Command

/**
* Used for executing [update] method calls and subscribing
* to the observables returned from [call].
*/
val updateScheduler: Scheduler


Expand Down Expand Up @@ -104,6 +112,9 @@ interface CommandUpdate<Model, Message, Command> {
*/
interface Update<Model, Message> {

/**
* Used for executing [update] method calls
*/
val updateScheduler: Scheduler


Expand Down

0 comments on commit ab58369

Please sign in to comment.