AsyncRdProperty

class AsyncRdProperty<T>(val valueSerializer: ISerializer<T> = Polymorphic()) : IMutableAsyncProperty<T> , IRdBindable, IPrintable, IRdWireable

Constructors

Link copied to clipboard
constructor(valueSerializer: ISerializer<T> = Polymorphic())
constructor(defaultValue: T, valueSerializer: ISerializer<T> = Polymorphic())

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var location: RName
Link copied to clipboard
Link copied to clipboard
open override val maybe: Maybe<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val protocol: IProtocol?
Link copied to clipboard
Link copied to clipboard
open override var rdid: RdId
Link copied to clipboard
Link copied to clipboard
open override var value: T
Link copied to clipboard

Functions

Link copied to clipboard
open override fun adviseOn(lifetime: Lifetime, scheduler: IScheduler, handler: (T) -> Unit)
Link copied to clipboard
open override fun bind()

Sends child objects to the wire. This method is called after the parent sends this instance to the wire.

Link copied to clipboard
open override fun deepClone(): AsyncRdProperty<T>

Creates a clone of this IRdBindable not bound to any protocol

Link copied to clipboard
open override fun identify(identities: IIdentities, id: RdId)

Assigns IDs to this node and its child nodes in the graph.

Link copied to clipboard
open override fun onWireReceived(buffer: AbstractBuffer, dispatchHelper: IRdWireableDispatchHelper)

Callback that wire triggers when it receives messaged

Link copied to clipboard
open override fun preBind(lifetime: Lifetime, parent: IRdDynamic, name: String)

Inserts the node into the object graph under the given parent and assigns the specified name to it. The node will be removed from the graph when the specified lf lifetime is terminated.

Link copied to clipboard
open override fun print(printer: PrettyPrinter)
Link copied to clipboard
open override fun set(value: T)
Link copied to clipboard
Link copied to clipboard