Package | raix.reactive |
Class | public class OnNext |
Inheritance | OnNext ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
error : Error [override] [read-only]
Always returns false since no errors are associated with values
| OnNext | ||
hasValue : Boolean [override] [read-only]
Always returns true
| OnNext | ||
kind : int [override] [read-only]
Always returns NotificationKind.ON_NEXT
| OnNext | ||
value : Object [override] [read-only]
Gets the value from the message
| OnNext |
Method | Defined By | ||
---|---|---|---|
OnNext(value:Object) | OnNext | ||
accept(onNext:Function, onCompleted:Function = null, onError:Function = null):void [override]
Calls onNext if it's not null
| OnNext | ||
![]() | acceptWith(observer:IObserver):void
Calls the appropriate method on an observer
| Notification |
error | property |
error:Error
[read-only] [override] Always returns false since no errors are associated with values
public function get error():Error
hasValue | property |
hasValue:Boolean
[read-only] [override] Always returns true
public function get hasValue():Boolean
kind | property |
kind:int
[read-only] [override] Always returns NotificationKind.ON_NEXT
public function get kind():int
value | property |
value:Object
[read-only] [override] Gets the value from the message
public function get value():Object
OnNext | () | Constructor |
public function OnNext(value:Object)
value:Object |
accept | () | method |
override public function accept(onNext:Function, onCompleted:Function = null, onError:Function = null):void
Calls onNext if it's not null
Parameters
onNext:Function | |
onCompleted:Function (default = null )
| |
onError:Function (default = null )
|