MCPcopy Create free account
hub / github.com/utterance/utterances / setUser

Method setUser

src/timeline-component.ts:33–40  ·  view source on GitHub ↗
(user: User | null)

Source from the content-addressed store, hash-verified

31 }
32
33 public setUser(user: User | null) {
34 this.user = user;
35 const login = user ? user.login : null;
36 for (let i = 0; i < this.timeline.length; i++) {
37 this.timeline[i].setCurrentUser(login);
38 }
39 scheduleMeasure();
40 }
41
42 public setIssue(issue: Issue | null) {
43 this.issue = issue;

Callers

nothing calls this directly

Calls 2

scheduleMeasureFunction · 0.90
setCurrentUserMethod · 0.80

Tested by

no test coverage detected