How to use rasa-sdk define FormAction?

I use Rasa 1.2.2 and dispatcher is canceled,but rasa-sdk’s interfaces are using dispatcher.how can i define FormAction elegantly?