Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundTask ¶
type BackgroundTask struct { Tasks int // contains filtered or unexported fields }
func NewBackgroundTask ¶
func NewBackgroundTask() *BackgroundTask
func (*BackgroundTask) GetShtdwnCtx ¶
func (bt *BackgroundTask) GetShtdwnCtx() context.Context
func (*BackgroundTask) Run ¶
func (bt *BackgroundTask) Run(fn func(shtdwnCtx context.Context))
Click to show internal directories.
Click to hide internal directories.