docs » cp.rx.go.Statement.Definition
A Statement is defined before being executable. A definition is initiated with the Statement:modifier(...) method.
- Functions - API calls offered directly by the extension
- is
- Methods - API calls which can only be made on an object returned by a constructor
- define
- onInit
- onObservable
Signature | cp.rx.go.Statement.Definition.is(thing) -> boolean |
---|---|
Type | Function |
Description | Checks if the thing is an instance of Statement.Definition . |
Parameters |
|
Returns |
|
Signature | cp.rx.go.Statement.Definition:define() -> Statement |
---|---|
Type | Method |
Description | Completes the definition of the Statement. |
Parameters |
|
Returns |
|
Signature | cp.rx.go.Statement.Definition:onInit(initFn) -> Statement.Definition |
---|---|
Type | Method |
Description | Defines the function which will be called to initialise the context. |
Parameters |
|
Returns |
|
Signature | cp.rx.go.Statement.Definition:onObservable(observableFn) -> Statement.Definition |
---|---|
Type | Method |
Description | Defines the function which will be called to create the Observable |
Parameters |
|
Returns |
|