wcore

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

wave core application coordinator

Index

Constants

View Source
const DefaultActivateBlockTimeout = 60 * time.Second
View Source
const DefaultTimeout = 2 * time.Second

Variables

This section is empty.

Functions

func CreateBlock

func CreateBlock(ctx context.Context, tabId string, blockDef *waveobj.BlockDef, rtOpts *waveobj.RuntimeOpts) (*waveobj.Block, error)

func CreateClient

func CreateClient(ctx context.Context) (*waveobj.Client, error)

func CreateTab

func CreateTab(ctx context.Context, windowId string, tabName string, activateTab bool) (string, error)

returns tabid

func CreateWindow

func CreateWindow(ctx context.Context, winSize *waveobj.WinSize) (*waveobj.Window, error)

func DeleteBlock

func DeleteBlock(ctx context.Context, tabId string, blockId string) error

func DeleteTab

func DeleteTab(ctx context.Context, workspaceId string, tabId string) error

func EnsureInitialData

func EnsureInitialData() (*waveobj.Window, bool, error)

returns (new-window, first-time, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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