import { Model } from "https://deno.land/x/denodb@v1.1.0/lib/model.ts";
Alias for Model.on
, add an event listener for a specific operation/hook.
Flight.addEventListener('created', (model) => console.log('New model:', model));
Type Parameters
T extends ModelSchema