import { pub } from "https://deno.land/x/capsid@v1.8.2/mod.ts";
Publishes the given event to the elements which has sub:${event}
class.
For example @pub('foo')
publishes the foo
event to the elements
which have sub:foo
class.
import { pub } from "https://deno.land/x/capsid@v1.8.2/mod.ts";
Publishes the given event to the elements which has sub:${event}
class.
For example @pub('foo')
publishes the foo
event to the elements
which have sub:foo
class.