MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / Props

Interface Props

apps/web/hooks/polling.tsx:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { useEffect, useState } from 'react';
2
3interface Props {
4 fetch(): Promise<void>;
5 success(data: any): void;
6 error(): void;
7}
8
9const POLL_INTERVAL_IN_SECONDS = 999999;
10const POLL_INTERVAL = POLL_INTERVAL_IN_SECONDS * 1000;

Callers 19

parseChannelAndThreadFunction · 0.65
fetchAllAccountsFunction · 0.65
onThreadCreateFunction · 0.65
onSubmitFunction · 0.80
ConfigurationsViewFunction · 0.80
startSyncJobFunction · 0.80
onChangeFunction · 0.80
onFileChangeFunction · 0.80
onRemoveConfirmFunction · 0.80
handleChangeFunction · 0.80
successFunction · 0.80
acceptInviteFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected