Skip to content

QueueItems

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:2

Type Parameters

T

Properties

length

length: number

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:3


offset

offset: number

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:4


queue

queue: T[]

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:5

Methods

clear()

clear(): void

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:7

Returns

void


dequeue()

dequeue(): undefined | T

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:8

Returns

undefined | T


enqueue()

enqueue(item): void

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:9

Parameters

item

T

Returns

void


enqueueArray()

enqueueArray(items): void

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:10

Parameters

items

T[]

Returns

void


get()

get(): T[]

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:11

Returns

T[]


isEmpty()

isEmpty(): boolean

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:12

Returns

boolean


peek()

peek(): undefined | T

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:13

Returns

undefined | T


remove()

remove(item): void

Defined in: src/obsidian/internals/LinkResolverQueue/QueueItems.d.ts:14

Parameters

item

T

Returns

void