R6 class for representing a background task
## Not run: task <- Task$new(function() { 1 + 1}) task$Result ## End(Not run)