taskutil

package
v0.0.0-...-ea35677 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	eventloop.Task
	*eventloop.Runner[eventloop.Task]
}

Wrapper is a compatibility layer to use current implementations of workers as the new runtime.Runnable.

func WrapWorker

func WrapWorker(worker eventloop.Task) *Wrapper

WrapWorker wraps a framework.Worker so that it can be used by the runtime.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL