use-callback-await-state-sync (npm): Returns a callback that will not execute right away when called, but will instead execute next time all the state has been synchronised.
Keywords: typescript|react|callback|state|synchronise|wait