Type alias Subscriber<T>

Subscriber<T>: {
    action: T;
    callback: ((response) => void);
}

Type Parameters

Type declaration

  • action: T
  • callback: ((response) => void)