Hi! The following gives “TypeError: signaler.signal is not a function” (Aurelia 2 + ESNext):
import { inject, ISignaler } from 'aurelia';
@inject(ISignaler)
export class MyApp {
constructor(signaler) {
signaler.signal('my-signal');
}
}
Hi! The following gives “TypeError: signaler.signal is not a function” (Aurelia 2 + ESNext):
import { inject, ISignaler } from 'aurelia';
@inject(ISignaler)
export class MyApp {
constructor(signaler) {
signaler.signal('my-signal');
}
}
It should be signaler.dispatchSignal
.