# Functions
NewInMemoryManager initializes new InMemoryManager with following default options - task expiration time - 24 hours - task preservation time or time for which task is preserved in memory after it has finished - 7 minutes - task id delimiter - ':'.
WithTaskExpirationTime InMemoryManager helper method allowing to override default task expiration time.
WithTaskIdDelimiter InMemoryManager helper method allowing to override default task id delimiter.
WithTaskPreservationTime InMemoryManager helper method allowing to override default task preservation time.
WithTracer configures distributed tracing for long-running operations.
# Structs
CreateSpec provides information on tasks specifics when it is initialized by CreateTask method BaseId - dictates how a task id would look like.
InMemoryManager is a default implementation of core.TaskManager It provides functionality to: - create task - by using CreateTask method and provided necessary CreateSpec information - start task - by using StartTaskWithContext method - edit task - done by SetError method - end task - by using either SetError or SetResult methods - retrieve task information - through GetTaskInfo or GetTasksInfo methods - mark task for cancellation - by using MarkForCancellation, at which point a task provider can listen for this event and do the actual task cancel actions - retrieve task result information - GetTaskResult is used by bindings to block on waiting for a task end.
# Interfaces
Manager provides functionality to create, update, and delete tasks.