Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteAsync ¶
ExecuteAsync executes a function asychrously and return its result.
Types ¶
type ActivityTimer ¶
type ActivityTimer struct {
// contains filtered or unexported fields
}
func CancelAfterInactivity ¶
func CancelAfterInactivity(ctx context.Context, cancel context.CancelFunc, timeout time.Duration) *ActivityTimer
func (*ActivityTimer) SetTimeout ¶
func (t *ActivityTimer) SetTimeout(timeout time.Duration)
func (*ActivityTimer) Update ¶
func (t *ActivityTimer) Update()
type ActivityUpdater ¶
type ActivityUpdater interface {
Update()
}
Click to show internal directories.
Click to hide internal directories.