Lift 3.x, feature Request

22 views
Skip to first unread message

Colin Bester

unread,
Dec 12, 2016, 1:36:07 PM12/12/16
to Lift
Would like to request for feature enhancement to allow for parameter on LiftSession.buildRoundTrip that includes a callback on end of life that can be triggered when page unloads or session terminates.

This will be most useful when streaming data (data push) to client using periodic timers as there is presently no way to know to shutdown periodic timers and to stop sending data.

This way one can register the service when the page loads, push changes, then unregister when the CometActor that underlies buildRoundTrip gets end of lifed (page unload, session terminated).

Thanks to all for comments/suggestions leading to this request.
Reply all
Reply to author
Forward
0 new messages