pub fn spawn_scan_task(
view: BufferId,
query: String,
options: ProjectSearchOptions,
service: ProjectSearchServiceHandle,
events: Arc<EventBus>,
cancel: CancellationToken,
) -> JoinHandle<()> ⓘExpand description
Public so the mode’s gr refresh handler (M.10.5,
registered via ActionHandlerRegistry from on_activate)
can respawn after cancelling the prior task.