MCPcopy Create free account
hub / github.com/Noumena-Network/code / setLeaderTeamName

Function setLeaderTeamName

src/utils/tasks.ts:32–38  ·  view source on GitHub ↗
(teamName: string)

Source from the content-addressed store, hash-verified

30 * Called by TeamCreateTool when a team is created.
31 */
32export function setLeaderTeamName(teamName: string): void {
33 if (leaderTeamName === teamName) return
34 leaderTeamName = teamName
35 // Changing the task list ID is a "tasks updated" event for subscribers —
36 // they're now looking at a different directory.
37 notifyTasksUpdated()
38}
39
40/**
41 * Clears the leader's team name.

Callers 1

callFunction · 0.85

Calls 1

notifyTasksUpdatedFunction · 0.85

Tested by

no test coverage detected