Workspace ManagerconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Workspace.init(from:)

init(from: any Decoder)

Inherited from Decodable.init(from:)

Creates a new instance by decoding from the given decoder.

Description#

This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

  • Parameter decoder: The decoder to read data from.
Parameters
Raises
Esc

Type to search.

Reference previewOpen reference