Waits for a brush to change, and propagates that change to the sharedData object.

maintain_selection(sharedData, brushId, ownerId = "")

Arguments

sharedData

The shared data instance

brushId

Character vector indicating the name of the plotOutput brush

ownerId

(TBD)