Is there a window resize event/trigger?

My thought is to create a trigger that will resize a touching window when you resize one window.

Say you have two windows left and right and they are touching each other. Say you grab the right window in the middle (where its touching the left window) to resize the right window right -- to make it smaller -- then I want to resize the left window right to make it bigger.

Does that make sense?

unfortunately the currently available APIs on macOS make it really hard / impossible to do such a thing unfortunately

No issues. Is there a way to say resize this window to the right up to the next app?

unfortunately not at the moment - there might have been some API improvements that would allow this, but I haven't tested this yet