aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/FindController.ts
blob: 07728669420267908b06338ba21ec902d771147d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { injectable } from "tsyringe";
import StartFindUseCase from "../usecases/StartFindUseCase";

@injectable()
export default class FindController {
  constructor(private startFindUseCase: StartFindUseCase) {}

  startFind(tabId: number, keyword?: string): Promise<void> {
    return this.startFindUseCase.startFind(tabId, keyword);
  }
}