Function createSelfInitSegmentAtom
- createSelfInitSegmentAtom(context, initialData): StateAtom<SelfInitializingSegment, {
setSelectionGroup: ((segment, selectionGroup) => boolean);
}>
-
Parameters
-
-
initialData: PartialRequired<SelfInitializingSegment, "track" | "url" | "segmentTiming">
Returns StateAtom<SelfInitializingSegment, {
setSelectionGroup: ((segment, selectionGroup) => boolean);
}>