MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / selectIsUploading

Function selectIsUploading

packages/kilo-chat-hooks/src/use-attachment-queue.ts:120–122  ·  view source on GitHub ↗
(rows: QueuedAttachment[])

Source from the content-addressed store, hash-verified

118}
119
120export function selectIsUploading(rows: QueuedAttachment[]): boolean {
121 return rows.some(r => r.status === 'uploading');
122}
123
124export function selectHasFailed(rows: QueuedAttachment[]): boolean {
125 return rows.some(r => r.status === 'failed');

Callers 3

MessageInputFunction · 0.90
useAttachmentQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected