asynctaskrunner

package
v0.0.0-...-ed9fe1d Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncTaskRunner

type AsyncTaskRunner struct {
	// contains filtered or unexported fields
}

AsyncTaskRunner is a runner object to run async tasks in your test.

func NewAsyncTaskRunner

func NewAsyncTaskRunner(t *testing.T, service *service.Service) *AsyncTaskRunner

NewAsyncTaskRunner returns a new *AsyncTaskRunner object to run async tasks.

func (*AsyncTaskRunner) Run

func (runner *AsyncTaskRunner) Run(ctx context.Context, path string, query url.Values, queueName string) *asynctask.AsyncTask

Run executes the task and wait for the completion.

Jump to

Keyboard shortcuts

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