Packageraix.reactive
Classpublic class OnNext
InheritanceOnNext Inheritance Notification Inheritance Object

A Notification for an onNext call



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
OnNext(value:Object)
OnNext
  
accept(onNext:Function, onCompleted:Function = null, onError:Function = null):void
[override] Calls onNext if it's not null
OnNext
 Inherited
acceptWith(observer:IObserver):void
Calls the appropriate method on an observer
Notification
Property Detail
errorproperty
error:Error  [read-only] [override]

Always returns false since no errors are associated with values


Implementation
    public function get error():Error
hasValueproperty 
hasValue:Boolean  [read-only] [override]

Always returns true


Implementation
    public function get hasValue():Boolean
kindproperty 
kind:int  [read-only] [override]

Always returns NotificationKind.ON_NEXT


Implementation
    public function get kind():int
valueproperty 
value:Object  [read-only] [override]

Gets the value from the message


Implementation
    public function get value():Object
Constructor Detail
OnNext()Constructor
public function OnNext(value:Object)



Parameters
value:Object
Method Detail
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)