austinmiller / augustmc

Scala Mud Client with JVM-based Scripting
Apache License 2.0
10 stars 2 forks source link

Event scheduling with callbacks in the framework #5

Closed austinmiller closed 7 years ago

austinmiller commented 7 years ago

It is quite common for clients to want to schedule a callback for the future. Integrating this scheduling into the client so that it can persist across reloads is quite the challenge. If it is not reload-proof, it loses considerable value and requires greater complexity.

It would be quite effective to have a reload-safe framework component to schedule long term events.

austinmiller commented 7 years ago

Hmmmm, got this one done. https://github.com/austinmiller/augustmc/commit/a55fb69af16338c1c96503ec8445e979194ac14b