MCPcopy
hub / github.com/QwikDev/qwik / getLastSubscription

Function getLastSubscription

packages/qwik/src/core/state/common.ts:435–440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

433let __lastSubscription: Subscriptions | undefined;
434
435export function getLastSubscription(): Subscriptions | undefined {
436 // HACK(misko): This is a hack to get the last subscription.
437 // It is used by `executeSignalOperation` to update the target element
438 // after the subscription has been created.
439 return __lastSubscription;
440}
441
442const must = <T>(a: T): NonNullable<T> => {
443 if (a == null) {

Callers 1

executeSignalOperationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…