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 { this.followMasterClient.startFollow(this.newTab, this.background); } }