Stream buffer and task notification

Hi, Can I use task notification when stream buffer are being used by the same task? I notice in the stream buffer there code like the one shown below. If this is the case this will complete remove all the bits set. I am asking because I am running is problems where one my task is missing events and it’s because the task notification bits are cleared before I get a chance to read it. xTaskNotifyWait( ( uint32t ) 0, UINT32MAX, NULL, xTicksToWait );??