Autosave manager class.

Methods

create (name:String, time:Int, method:Void ‑> Void):Autosave

Creates an autosave control and adds it to manager.

Parameters:

name

Control name.

time

Time between saving (seconds).

method

Method that saves data.