With the help of the ObserverList class, observer can be managed.
You can call the method via the monster namespace new Monster.Types.ObserverList()
.
<script type="module">
import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/monster.js';
console.log(new Monster.Types.ObserverList())
console.log(new Monster.Types.ObserverList())
</script>
Alternatively, you can also integrate this function individually.
<script type="module">
import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/modules/types/observerlist.js';
console.log(ObserverList())
console.log(ObserverList())
</script>