Updating js-db project structure and integrating 4.0.0 of @matrixai/async-locks#62
Conversation
|
Currently using It mostly applies to the lock system, so that makes sense. Most likely due to changes to We may also proceed to fix this by replacing the |
|
This will be important before we propagate the 4.0.0 async-locks to everywhere that uses it. I've already done it pre-emptively for async-init though @tegefaulkes. |
|
Ok turns out the problem was just that we no longer just take Which kind of reminds me, I believe js-contexts still needs to have that brought in even if we haven't yet integrated the |
daf7f4a to
bea669d
Compare
…ng `ContextTimedInput`
bea669d to
7717f9f
Compare
|
Cool, so those problems are fixed for now. But I need to also update to just using the |
15d1cf9 to
950bfad
Compare
@matrixai/async-locks@matrixai/async-locks
|
There is now a Furthermore, the API is the same, but any timeouts must be done with a context. So: All work. Note that the last one, applies the |

Description
The project structure of PK projects have been changing bringing in things like swc for testing, updates to the eslint structure, updates to library versions and switching to node 18.15. The biggest change will be the
@matrixai/async-locksdue to its replacement ofasync-mutexwith its own semaphore and introducingMonitor. TheMonitorsystem can replace some of what we are already doing inside theDBTransactionand in fact was based on it.Issues Fixed
Tasks
DBTransactionwith the new 4.0.0 of@matrixai/async-locksMonitorinside theDBTransactionFinal checklist