Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListDownlink<V, VU>

Type parameters

  • V: VU

  • VU

Hierarchy

Index

Accessors

length

  • get length(): number

Methods

body

  • body(): Value
  • body(body: AnyValue): this

clear

  • clear(): void

close

  • close(): void

command

Protected copy

  • copy(context: DownlinkContext, owner: DownlinkOwner | undefined, hostUri: Uri, nodeUri: Uri, laneUri: Uri, prio: number, rate: number, body: Value, flags: number, observers: ReadonlyArray<ListDownlinkObserver<V, VU>> | null, valueForm?: Form<V, VU>, state0?: STree<Value, Value>): this

didClear

didClose

didConnect

didDisconnect

didDrop

didFail

didLink

didMove

didRemove

didSync

didTake

didUnlink

didUpdate

entries

  • entries(): Cursor<[Value, V]>

forEach

  • forEach<T, S>(callback: function, thisArg?: S): T | undefined

get

  • get(index: number, id?: Value): V

getEntry

  • getEntry(index: number, id?: Value): [V, Value] | undefined

hostUri

  • hostUri(): Uri
  • hostUri(hostUri: AnyUri): this

initialState

  • initialState(): STree<Value, Value> | null
  • initialState(state0: STree<Value, Value> | null): this

insert

  • insert(index: number, newObject: VU, id?: Value): this

isAuthenticated

  • isAuthenticated(): boolean

isConnected

  • isConnected(): boolean

isEmpty

  • isEmpty(): boolean

isLinked

  • isLinked(): boolean

isSynced

  • isSynced(): boolean

keepLinked

  • keepLinked(): boolean
  • keepLinked(keepLinked: boolean): this

keepSynced

  • keepSynced(): boolean
  • keepSynced(keepSynced: boolean): this

keys

laneUri

  • laneUri(): Uri
  • laneUri(laneUri: AnyUri): this

move

  • move(fromIndex: number, toIndex: number, id?: Value): this

nodeUri

  • nodeUri(): Uri
  • nodeUri(nodeUri: AnyUri): this

observe

onCommand

onEvent

open

  • open(): this

pop

  • pop(): V

prio

  • prio(): number
  • prio(prio: number): this

push

  • push(...newObjects: VU[]): number

rate

  • rate(): number
  • rate(rate: number): this

remove

  • remove(index: number, id?: Value): this

session

  • session(): Value

set

  • set(index: number, newObject: VU, id?: Value): this

setState

  • setState(state: STree<Value, Value>): void

shift

  • shift(): V

snapshot

  • snapshot(): STree<Value, Value>

splice

  • splice(start: number, deleteCount?: undefined | number, ...newObjects: VU[]): V[]

type

unobserve

  • unobserve(observer: unknown): this

unshift

  • unshift(...newObjects: VU[]): number

valueForm

values

willClear

willDrop

willLink

willMove

willRemove

willSync

willTake

willUnlink

willUpdate

Static initForm