Skip to main content

loadMyTeamName

Reads the reader's team name once, through the loader registered with registerMyTeamNameSource. Every caller shares the same read.

Import​

import { loadMyTeamName } from '@conduction/nextcloud-vue'

Signature​

function loadMyTeamName(): Promise<string>

Resolves to the name, or '' without a team, without a registered loader, or when the read fails.