blob: 6f30058c6130cd918ffcf2c0cc1a67c558cdec87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import Operator from "../Operator";
import FollowMasterClient from "../../client/FollowMasterClient";
export default class StartFollowOperator implements Operator {
constructor(
private readonly followMasterClient: FollowMasterClient,
private readonly newTab: boolean,
private readonly background: boolean
) {}
async run(): Promise<void> {
this.followMasterClient.startFollow(this.newTab, this.background);
}
}
|