Skip to main content

ISequenceOverlappingIntervalsIndex Interface

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/sequence/legacy.

For more information about our API support guarantees, see here.

Signature

export interface ISequenceOverlappingIntervalsIndex extends SequenceIntervalIndex

Extends: SequenceIntervalIndex

Methods

MethodAlertsReturn TypeDescription
findOverlappingIntervals(start, end)BetaSequenceInterval[]
gatherIterationResults(results, iteratesForward, start, end)BetavoidGathers the interval results based on specified parameters.

Method Details

findOverlappingIntervals

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

findOverlappingIntervals(start: SequencePlace, end: SequencePlace): SequenceInterval[];

Parameters

ParameterTypeDescription
startSequencePlace
endSequencePlace

Returns

an array of all intervals contained in this collection that overlap the range [start end].

Return type: SequenceInterval[]

gatherIterationResults

Gathers the interval results based on specified parameters.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

gatherIterationResults(results: SequenceInterval[], iteratesForward: boolean, start?: SequencePlace, end?: SequencePlace): void;

Parameters

ParameterModifiersTypeDescription
resultsSequenceInterval[]
iteratesForwardboolean
startoptionalSequencePlace
endoptionalSequencePlace