Changes in session and scheduling API starting from build #2.1.1183
February 3, 2016 12:51 am Leave your thoughtsStarting from the build #2.1.1183 the session and scheduling API is changed. Here is a summarized list of changes:
- Added simpler task scheduling interface using static method
Scheduling.ScheduleTask()
use it instead of previousDbSession
. - Added
Session.ToAsciiString()
to convert an existing session into an ASCII string. Later this session ASCII string can be used as parameter toSession.ScheduleTask
. Session.RunSync
functionality is also replaced bySession.ScheduleTask
.Session.Destroyed
is now replaced bySession.AddDestroyDelegate
because of applications separation issues.Session.CargoId
is removed because of no use.
The sessions documentation is updated and basic scheduling clarification is added:
Sessions
Running-background-jobs
An example of application that uses sessions:
Chatter
Categorised in: Nightly changes
This post was written by Alexey Moiseenko