Skip to main content
Version: v1

InsertContext Interface

Signature

export interface InsertContext

Properties

Property Modifiers Type Description
candidateSegment optional ISegment
continuePredicate optional (continueFromBlock: IMergeBlock) => boolean
leaf (segment: ISegment | undefined, pos: number, ic: InsertContext) => ISegmentChanges
prepareEvents optional boolean
structureChange optional boolean

Property Details

candidateSegment

Signature

candidateSegment?: ISegment;

Type: ISegment

continuePredicate

Signature

continuePredicate?: (continueFromBlock: IMergeBlock) => boolean;

Type: (continueFromBlock: IMergeBlock) => boolean

leaf

Signature

leaf: (segment: ISegment | undefined, pos: number, ic: InsertContext) => ISegmentChanges;

Type: (segment: ISegment | undefined, pos: number, ic: InsertContext) => ISegmentChanges

prepareEvents

Signature

prepareEvents?: boolean;

Type: boolean

structureChange

Signature

structureChange?: boolean;

Type: boolean