This PR allows users to access the most recent msg.Timestamp via os.time() for a more intuitive user experience.
Changes
Added a single line to the process.handle method os.time = function () return msg.Timestamp end which overides the os.time() method to return msg.Timestamp.
Added a test to handlers.test.js to confirm functionality.
Closes #276
Overview
This PR allows users to access the most recent
msg.Timestamp
viaos.time()
for a more intuitive user experience.Changes
Added a single line to the
process.handle
methodos.time = function () return msg.Timestamp end
which overides the os.time() method to return msg.Timestamp.Added a test to handlers.test.js to confirm functionality.