MCPcopy Create free account
hub / github.com/experdot/pointer / getLayoutQueue

Function getLayoutQueue

src/renderer/src/stores/persistenceQueue.ts:274–281  ·  view source on GitHub ↗
(scope: AccountScope)

Source from the content-addressed store, hash-verified

272}
273
274export function getLayoutQueue(scope: AccountScope): PersistenceQueue<'layout', LayoutRecord> {
275 return getOrCreateQueue(accountQueueId(scope.accountId, 'layout'), () =>
276 createPersistenceQueue<'layout', LayoutRecord>(
277 (_key, data) => persistence.account(scope).layout.put(data),
278 DEFAULT_QUEUE_OPTIONS
279 )
280 )
281}
282
283export function getTabsQueue(scope: WorkspaceScope): PersistenceQueue<'tabs', TabsRecord> {
284 return getOrCreateQueue(workspaceQueueId(scope, 'tabs'), () =>

Callers 1

persistFunction · 0.90

Calls 5

getOrCreateQueueFunction · 0.85
accountQueueIdFunction · 0.85
createPersistenceQueueFunction · 0.85
putMethod · 0.65
accountMethod · 0.65

Tested by

no test coverage detected