If you are interested in performing additional calculations on Promise<T>, you may find this small library useful. Mutex, producer-consumer separation (side-effect operation), signaling (flag control) ...
Abstract: We propose a hardware-efficient optical matrix processor based on low-rank approximation, utilizing narrowband filters of microring resonators (MRRs) and broadband Mach-Zehnder ...