Handler for FIFO communication.

Hello everyone!

What is the way to make a custom handler for listening to FIFO communication?