blob: b733cbdaaa5ec044a66a2a7c4c67a0cb2eac6bc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import FindMasterClient, { FindMasterClientImpl }
from '../client/FindMasterClient';
export default class FindSlaveUseCase {
private findMasterClient: FindMasterClient;
constructor({
findMasterClient = new FindMasterClientImpl(),
} = {}) {
this.findMasterClient = findMasterClient;
}
findNext() {
this.findMasterClient.findNext();
}
findPrev() {
this.findMasterClient.findPrev();
}
}
|