I'm not convinced the API is right. For exmaple, an event that notifies a program when to save its state is both smaller and might be sufficient. Signed-off-by: Elias Naur <mail@eliasnaur.com>
It is still slow. And crashy: https://github.com/golang/go/issues/31980. Signed-off-by: Elias Naur <mail@eliasnaur.com>