aboutsummaryrefslogtreecommitdiff
path: root/src/content/usecases/FindSlaveUseCase.ts
blob: 3b8c4b403c1a93037d970861b14a47b942df68eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { injectable, inject } from "tsyringe";
import FindMasterClient from "../client/FindMasterClient";

@injectable()
export default class FindSlaveUseCase {
  constructor(
    @inject("FindMasterClient") private findMasterClient: FindMasterClient
  ) {}

  findNext() {
    this.findMasterClient.findNext();
  }

  findPrev() {
    this.findMasterClient.findPrev();
  }
}