Are you using the AsynchroSerial with an interface from another component? Then that interface could have disabled the block methods? Is the method grayed out?
It would be good if you could share some more information (screenshot, which tool chain/version, which microcontroller) to narrow the problem.