import { emits } from "https://deno.land/x/capsid@v1.8.2/mod.ts";
@emits(event)
decorator
This decorator adds the event emission at the end of the method. If the method returns the promise, then the event is emitted when it is resolved.
import { emits } from "https://deno.land/x/capsid@v1.8.2/mod.ts";
@emits(event)
decorator
This decorator adds the event emission at the end of the method. If the method returns the promise, then the event is emitted when it is resolved.