Library for selective receive OTP processes