Skip to content
module@ember-data/tracking Deprecated Package

Deprecated package

@ember-data/tracking is deprecated. Deprecated since 5.5: the Ember reactivity bindings it provided now come from @warp-drive/ember, so remove it and install that instead.

Function buildSignalConfig() deprecated ​

ts
function buildSignalConfig(options: {
  wellknown: {
     Array: string | symbol;
  };
}): {
  createMemo: <F>(object: object, key: string | symbol, fn: () => F) => () => F;
  waitFor: <K>(promise: Promise<K>) => Promise<K>;
  willSyncFlushWatchers: () => boolean;
  consumeSignal(signal: Tag | [Tag, Tag, Tag]): void;
  createSignal(obj: object, key: string | symbol): Tag | [Tag, Tag, Tag];
  notifySignal(signal: Tag | [Tag, Tag, Tag]): void;
};

Defined in: index.ts:36

deprecated

Creates a signal configuration object for WarpDrive that integrates with Ember's reactivity system. This will be automatically imported and registered by @ember-data/store if the deprecation has not been resolved.

This function should not be called directly in your application code and this package is deprecated entirely. Use @warp-drive/ember instead.

Parameters ​

options ​

wellknown ​

{ Array: string | symbol; }

wellknown.Array ​

string | symbol

Returns ​

ts
{
  createMemo: <F>(object: object, key: string | symbol, fn: () => F) => () => F;
  waitFor: <K>(promise: Promise<K>) => Promise<K>;
  willSyncFlushWatchers: () => boolean;
  consumeSignal(signal: Tag | [Tag, Tag, Tag]): void;
  createSignal(obj: object, key: string | symbol): Tag | [Tag, Tag, Tag];
  notifySignal(signal: Tag | [Tag, Tag, Tag]): void;
}

createMemo ​

ts
createMemo: <F>(object: object, key: string | symbol, fn: () => F) => () => F;

Type Parameters ​

F ​

F

Parameters ​

object ​

object

key ​

string | symbol

fn ​

() => F

Returns ​

() => F

waitFor ​

ts
waitFor: <K>(promise: Promise<K>) => Promise<K>;

Type Parameters ​

K ​

K

Parameters ​

promise ​

Promise<K>

Returns ​

Promise<K>

willSyncFlushWatchers ​

ts
willSyncFlushWatchers: () => boolean;

Returns ​

boolean

consumeSignal() ​

ts
consumeSignal(signal: Tag | [Tag, Tag, Tag]): void;

Parameters ​

signal ​

Tag | [Tag, Tag, Tag]

Returns ​

void

createSignal() ​

ts
createSignal(obj: object, key: string | symbol): Tag | [Tag, Tag, Tag];

Parameters ​

obj ​

object

key ​

string | symbol

Returns ​

Tag | [Tag, Tag, Tag]

notifySignal() ​

ts
notifySignal(signal: Tag | [Tag, Tag, Tag]): void;

Parameters ​

signal ​

Tag | [Tag, Tag, Tag]

Returns ​

void

Deprecated ​

Released under the MIT License.