Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModelListDownlink<M, V, VU>

Type parameters

Hierarchy

Callable

  • ModelListDownlink(index: number): undefined | V
  • ModelListDownlink(index: number, newObject: V | VU): M
  • Parameters

    • index: number

    Returns undefined | V

  • Parameters

    • index: number
    • newObject: V | VU

    Returns M

Index

Properties

Optional consume

consume: boolean

Readonly downlink

downlink: null | ListDownlink<V, VU>

Readonly downlinkConsumers

downlinkConsumers: readonly unknown[]

Readonly downlinkFlags

downlinkFlags: number

Readonly length

length: number

Readonly name

name: undefined | string

Readonly ownBody

ownBody: null | Value

Readonly ownHostUri

ownHostUri: null | Uri

Readonly ownLaneUri

ownLaneUri: null | Uri

Readonly ownNodeUri

ownNodeUri: null | Uri

Readonly ownPrio

ownPrio: undefined | number

Readonly ownRate

ownRate: undefined | number

Readonly ownValueForm

ownValueForm: null | Form<V, VU>

Readonly ownWarp

ownWarp: null | WarpRef

Readonly owner

owner: M

Methods

addDownlinkConsumer

  • addDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

bindDownlink

  • Parameters

    Returns ListDownlink<V, VU>

body

  • Returns null | Value

  • Parameters

    Returns ModelListDownlink<M, V, VU>

clear

  • clear(): void
  • Returns void

createDownlink

  • Parameters

    Returns ListDownlink<V, VU>

didAddDownlinkConsumer

  • didAddDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

didMount

  • didMount(): void
  • Returns void

didRemoveDownlinkConsumer

  • didRemoveDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

didStartConsuming

  • didStartConsuming(): void
  • Returns void

didStopConsuming

  • didStopConsuming(): void
  • Returns void

didUnmount

  • didUnmount(): void
  • Returns void

entries

  • Returns Cursor<[Value, V]>

forEach

  • forEach<T>(callback: (value: V, index: number, id: Value) => void | T): undefined | T
  • forEach<T, S>(callback: (value: V, index: number, id: Value) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (value: V, index: number, id: Value) => void | T
        • (value: V, index: number, id: Value): void | T
        • Parameters

          • value: V
          • index: number
          • id: Value

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (value: V, index: number, id: Value) => void | T
        • (value: V, index: number, id: Value): void | T
        • Parameters

          • value: V
          • index: number
          • id: Value

          Returns void | T

    • thisArg: S

    Returns undefined | T

get

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

    • index: number
    • Optional id: Value

    Returns undefined | V

getEntry

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

    • index: number
    • Optional id: Value

    Returns undefined | [V, Value]

hostUri

  • Returns null | Uri

  • Parameters

    Returns ModelListDownlink<M, V, VU>

Optional initBody

  • Returns AnyValue

Optional initDownlink

  • Parameters

    Returns ListDownlink<V, VU>

Optional initHostUri

  • initHostUri(): null | AnyUri
  • Returns null | AnyUri

Optional initLaneUri

  • initLaneUri(): null | AnyUri
  • Returns null | AnyUri

Optional initNodeUri

  • initNodeUri(): null | AnyUri
  • Returns null | AnyUri

Optional initPrio

  • initPrio(): undefined | number
  • Returns undefined | number

Optional initRate

  • initRate(): undefined | number
  • Returns undefined | number

insert

  • Parameters

    • index: number
    • newObject: V | VU
    • Optional id: Value

    Returns ModelListDownlink<M, V, VU>

isConsuming

  • isConsuming(): boolean
  • Returns boolean

isEmpty

  • isEmpty(): boolean
  • Returns boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

keys

  • Returns Cursor<Value>

laneUri

  • Returns null | Uri

  • Parameters

    Returns ModelListDownlink<M, V, VU>

link

  • link(): void
  • Returns void

mount

  • mount(): void
  • Returns void

move

  • Parameters

    • fromIndex: number
    • toIndex: number
    • Optional id: Value

    Returns ModelListDownlink<M, V, VU>

nodeUri

  • Returns null | Uri

  • Parameters

    Returns ModelListDownlink<M, V, VU>

onAddDownlinkConsumer

  • onAddDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

onMount

  • onMount(): void
  • Returns void

onRemoveDownlinkConsumer

  • onRemoveDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

onStartConsuming

  • onStartConsuming(): void
  • Returns void

onStopConsuming

  • onStopConsuming(): void
  • Returns void

onUnmount

  • onUnmount(): void
  • Returns void

pop

  • pop(): undefined | V
  • Returns undefined | V

prio

  • prio(): undefined | number
  • prio(prio: undefined | number): ModelListDownlink<M, V, VU>
  • Returns undefined | number

  • Parameters

    • prio: undefined | number

    Returns ModelListDownlink<M, V, VU>

push

  • push(...newObjects: (V | VU)[]): number
  • Parameters

    • Rest ...newObjects: (V | VU)[]

    Returns number

rate

  • rate(): undefined | number
  • rate(rate: undefined | number): ModelListDownlink<M, V, VU>
  • Returns undefined | number

  • Parameters

    • rate: undefined | number

    Returns ModelListDownlink<M, V, VU>

reconcile

  • reconcile(): void
  • Returns void

relink

  • relink(): void
  • Returns void

remove

  • Parameters

    • index: number
    • Optional id: Value

    Returns ModelListDownlink<M, V, VU>

removeDownlinkConsumer

  • removeDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

set

  • Parameters

    • index: number
    • newObject: V | VU
    • Optional id: Value

    Returns ModelListDownlink<M, V, VU>

setDownlinkFlags

  • setDownlinkFlags(downlinkFlags: number): void
  • Parameters

    • downlinkFlags: number

    Returns void

shift

  • shift(): undefined | V
  • Returns undefined | V

splice

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

    • start: number
    • Optional deleteCount: number
    • Rest ...newObjects: (V | VU)[]

    Returns V[]

startConsuming

  • startConsuming(): void
  • Returns void

stopConsuming

  • stopConsuming(): void
  • Returns void

unlink

  • unlink(): void
  • Returns void

unmount

  • unmount(): void
  • Returns void

unshift

  • unshift(...newObjects: (V | VU)[]): number
  • Parameters

    • Rest ...newObjects: (V | VU)[]

    Returns number

valueForm

  • Returns null | Form<V, VU>

  • Parameters

    • valueForm: null | Form<V, VU>

    Returns ModelListDownlink<M, V, VU>

values

  • Returns Cursor<V>

warp

  • Returns null | WarpRef

  • Parameters

    Returns ModelListDownlink<M, V, VU>

willAddDownlinkConsumer

  • willAddDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

willMount

  • willMount(): void
  • Returns void

willRemoveDownlinkConsumer

  • willRemoveDownlinkConsumer(downlinkConsumer: unknown): void
  • Parameters

    • downlinkConsumer: unknown

    Returns void

willStartConsuming

  • willStartConsuming(): void
  • Returns void

willStopConsuming

  • willStopConsuming(): void
  • Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Generated using TypeDoc