From 77b3e1dcb75af3dc108015b215493523e7fb43a7 Mon Sep 17 00:00:00 2001 From: Yousef El-Dardiry Date: Wed, 5 May 2021 11:42:40 +0200 Subject: [PATCH] comments --- src/types/AbstractType.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/AbstractType.js b/src/types/AbstractType.js index e9fa17fa..2825a4a2 100644 --- a/src/types/AbstractType.js +++ b/src/types/AbstractType.js @@ -249,13 +249,13 @@ export const callTypeObservers = (type, transaction, event) => { } /** - * Event handlers + * Event handler for when new instances of AbstractType are instantiated * @type {EventHandler, undefined>} */ const typeCreatedEventHandler = createEventHandler(); /** - * Observe all events that are created on this type. + * Observe instantiation events of new AbstractTypes * * @param {function(AbstractType, undefined):void} f Observer function */