mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
update interface to not be async
This commit is contained in:
@@ -58,10 +58,10 @@ export class UnoptimizedInMemoryRepository implements GetterSetterRepository {
|
||||
return this.etas.filter(eta => eta.stopId === stopId);
|
||||
}
|
||||
|
||||
public async subscribeToEtaChanges(listener: (eta: IEta) => void): Promise<void> {
|
||||
public subscribeToEtaChanges(listener: (eta: IEta) => void) {
|
||||
}
|
||||
|
||||
public async unsubscribeFromEtaChanges(listener: (eta: IEta) => void): Promise<void> {
|
||||
public unsubscribeFromEtaChanges(listener: (eta: IEta) => void) {
|
||||
}
|
||||
|
||||
public async getEtaForShuttleAndStopId(shuttleId: string, stopId: string) {
|
||||
|
||||
Reference in New Issue
Block a user