Photoredox-enabled late-stage functionalization of pyrrolidines in batch and flow: rapid access to benzothiazole hybrids as a new class of cholinesterase inhibitors | Synapse