rxSubscriber.ts 297 Bytes
Newer Older
liang ce committed
1 2 3 4 5 6 7 8 9 10
/** @deprecated do not use, this is no longer checked by RxJS internals */
export const rxSubscriber =
  typeof Symbol === 'function'
    ? Symbol('rxSubscriber')
    : '@@rxSubscriber_' + Math.random();

/**
 * @deprecated use rxSubscriber instead
 */
export const $$rxSubscriber = rxSubscriber;