CallOutBox async dismiss

CallOutBox uses a hidden command message to trigger an asynchronous dismissal.

Any chance of exposing this functionality by wrapping a postCommandMessage call in some kind of public dismissAsynchronously() function?

[I need to replicate the foreground process check done in CallOutBoxCallback in my own custom callback, and don't want to just copy the magic number!]

 

Good request, cheers!