# cp.rx.ImmediateScheduler

Schedules Observables by running all operations immediately.


# API Overview

Constructors - API calls which return an object, typically one that offers API methods

  • create

Methods - API calls which can only be made on an object returned by a constructor

  • schedule

# API Documentation

# Constructors

# create

Signature cp.rx.ImmediateScheduler.create() -> cp.rx.ImmediageScheduler
Type Constructor
Description Creates a new ImmediateScheduler.
Parameters
  • None
Returns
  • The new ImmediateScheduler.
Notes None
Examples None
Source src/extensions/cp/rx/ImmediateScheduler.lua line 14

# Methods

# schedule

Signature cp.rx.ImmediateScheduler:schedule(action) -> cp.rx.Reference
Type Method
Description Schedules a function to be run on the scheduler. It is executed immediately.
Parameters
  • action - The function to execute.
Returns
Notes None
Examples None
Source src/extensions/cp/rx/ImmediateScheduler.lua line 27