Does anyone know the mechanism (or proposed mechanism) by which Vit. B6 can treat vasospasm?

Thank you!