wcore

package
v0.8.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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