The event reaction code (as written) doesn't have access to the contract's state (to fetch the newly set autoreleaseTime). This is stopping us from implementing autorelease warning notifications.
One solution is to add in direct contract monitoring to the code. This could be part of mainLoop or its own thread.
Another option is to edit the event in the contract to include the newly set autoreleaseTime. Oddly, that might be both easier and better in the long run... Maybe the event "should" contain that information.
The event reaction code (as written) doesn't have access to the contract's state (to fetch the newly set autoreleaseTime). This is stopping us from implementing autorelease warning notifications.
One solution is to add in direct contract monitoring to the code. This could be part of mainLoop or its own thread.
Another option is to edit the event in the contract to include the newly set autoreleaseTime. Oddly, that might be both easier and better in the long run... Maybe the event "should" contain that information.