FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Add implementation of getKeysInOffsetRange api on Attribution Collection

Open jatgarg opened this issue 1 year ago • 0 comments

Description

Add implementation of getKeysInOffsetRange api on Attribution Collection. This is a requirement from Loop app to integrate the FF provided attribution. API: getKeysInOffsetRange( startOffset: number, endOffset?: number, channel?: string, ): [number, AttributionKey][] | undefined;

This api returns a list of [offset, Attribution key] pairs for the provided offset range. It helps the app to get attribution keys on a segment in a single call if they want to fetch multiple for startOffset till endOffset or from startOffset till the end of segment instead of making the app to query for key for each offset.

jatgarg avatar May 15 '24 00:05 jatgarg