take a read lock that will be released when the function has finished running
time in ms to wait to get the lock. Null mean infinite.
Generated using TypeDoc
take a read lock that will be released when the function has finished running