Documentation ¶
Overview ¶
Package asynctask package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager handles the lifecycle for async tasks
func NewManager ¶
NewManager creates a new Manager instance
type MockManager ¶
MockManager is an autogenerated mock type for the Manager type
func NewMockManager ¶
func NewMockManager(t mockConstructorTestingTNewMockManager) *MockManager
NewMockManager creates a new instance of MockManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockManager) Shutdown ¶
func (_m *MockManager) Shutdown()
Shutdown provides a mock function with given fields:
func (*MockManager) StartTask ¶
func (_m *MockManager) StartTask(fn func(context.Context))
StartTask provides a mock function with given fields: fn
Click to show internal directories.
Click to hide internal directories.