interlock / promise-interactor

Promise pattern applied to the interactor pattern applied to the JS
MIT License
4 stars 2 forks source link

Support multiple context types under one organizer #53

Open june-remind101 opened 4 years ago

june-remind101 commented 4 years ago

It is not possible to want to combine incompatible types within an organizer without making everything Partial<...>, which can add a lot of overhead in checking for values in interactor implementations.

We may be able to translate these specific types for each interactor on initialization.