export class SocketTarget { profileNotSetError = new Error("The profile on this target is not set."); profileId: number | null = null; setProfile(id: number) { this.profileId = id; } profileIsSet() { return this.profileId !== null; } // deno-lint-ignore require-await async exec(_args: unknown) { throw new Error("Execution for this target is not set."); } }