genericfutures

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachFuture

type AttachFuture[O any] struct {
	restatecontext.AttachFuture
}

func (AttachFuture[O]) Future

func (t AttachFuture[O]) Future() restatecontext.Future

func (AttachFuture[O]) Response

func (t AttachFuture[O]) Response() (output O, err errors.TerminalError)

type AwakeableFuture

type AwakeableFuture[T any] struct {
	restatecontext.AwakeableFuture
}

func (AwakeableFuture[T]) Future

func (t AwakeableFuture[T]) Future() restatecontext.Future

func (AwakeableFuture[T]) Result

func (t AwakeableFuture[T]) Result() (output T, err errors.TerminalError)

type ResponseFuture

type ResponseFuture[O any] struct {
	restatecontext.ResponseFuture
}

func (ResponseFuture[O]) Future

func (t ResponseFuture[O]) Future() restatecontext.Future

func (ResponseFuture[O]) Response

func (t ResponseFuture[O]) Response() (output O, err errors.TerminalError)

type RunAsyncFuture

type RunAsyncFuture[O any] struct {
	restatecontext.RunAsyncFuture
}

func (RunAsyncFuture[O]) Future

func (t RunAsyncFuture[O]) Future() restatecontext.Future

func (RunAsyncFuture[O]) Result

func (t RunAsyncFuture[O]) Result() (output O, err errors.TerminalError)

type SignalFuture

type SignalFuture[T any] struct {
	restatecontext.SignalFuture
}

func (SignalFuture[T]) Future

func (t SignalFuture[T]) Future() restatecontext.Future

func (SignalFuture[T]) Result

func (t SignalFuture[T]) Result() (output T, err errors.TerminalError)

type ToFuture

type ToFuture interface {
	Future() restatecontext.Future
}

Jump to

Keyboard shortcuts

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