In My project I want user to read a data from firebase realtime data at same time he will mark data as locked until he finishes some operations, during this time other users cannot read this data.
Anther scenario if the lock is not possible is once he read he at same time write some data to indicate that data as locked. If anther user read this data he knows its locked.
I am not sure if this is possible some how in fire base.
Is there any Idea how to use this with firebase realtime db.