Internationalisation
Bundled Plugins API
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.
Returns
  • The new ImmediateScheduler.

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
Last modified 1mo ago