Function during_input
pub fn during_input<R>(
report: Rc<dyn Fn(CopyReport)>,
run: impl FnOnce() -> R,
) -> RExpand description
Run run while dispatching the user’s input event (a click on Copy).
A copy made inside may publish through the browser’s own copy command;
report hears how it ended.