Switch to symbol based callback system from definition-based #6

Closed
opened 2024-05-05 09:53:20 +02:00 by zweieuro · 2 comments
zweieuro commented 2024-05-05 09:53:20 +02:00 (Migrated from gitlab.zweieuro.at)

Currently the different callbacks are registered with a function type () => X which is not straightforward to use and forces use of global functions.
For a more dynamic system use Symbol to identify registered callbacks and to unregister them.

Currently the different callbacks are registered with a function type `() => X` which is not straightforward to use and forces use of global functions. For a more dynamic system use `Symbol` to identify registered callbacks and to unregister them.
zweieuro commented 2024-05-05 09:53:20 +02:00 (Migrated from gitlab.zweieuro.at)

assigned to @zweieuro

assigned to @zweieuro
zweieuro (Migrated from gitlab.zweieuro.at) closed this issue 2024-05-05 10:15:16 +02:00
ghost commented 2024-05-05 10:18:00 +02:00 (Migrated from gitlab.zweieuro.at)

mentioned in commit 3dc74adc6f

mentioned in commit 3dc74adc6f72f0a4615edee1e4a5212e0a15487f
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: zweieuro/web-user-interface-lib#6
No description provided.