MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / set

Method set

src/scripts/communicator/smartValue.ts:43–49  ·  view source on GitHub ↗
(t: T)

Source from the content-addressed store, hash-verified

41 }
42
43 public set(t: T): SmartValue<T> {
44 if (this.t !== t) {
45 this.t = t;
46 this.notifySubscribers();
47 }
48 return this;
49 }
50
51 public get(): T {
52 return this.t;

Callers 15

testsMethod · 0.95
testsMethod · 0.95
RFunction · 0.80
aaFunction · 0.80
saFunction · 0.80
QaFunction · 0.80
executeSessionEndFunction · 0.80
handleSetUserSessionIdFunction · 0.80
getInitialStateMethod · 0.80
getResetStateMethod · 0.80

Calls 1

notifySubscribersMethod · 0.95

Tested by

no test coverage detected