@wasmcloud/actor-core

0.1.2 • Public • Published

wasmCloud Core Actor Interface

Core operations for wasmCloud actors. All wasmCloud actors must respond to the core health request message.

Core AssemblyScript Actor Code

// Boilerplate code for waPC.  Do not remove.
import { handleCall, handleAbort } from "@wapc/as-guest";

export function __guest_call(operation_size: usize, payload_size: usize): bool {
  return handleCall(operation_size, payload_size);
}

// Abort function
function abort(
  message: string | null,
  fileName: string | null,
  lineNumber: u32,
  columnNumber: u32
): void {
  handleAbort(message, fileName, lineNumber, columnNumber);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @wasmcloud/actor-core

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

8.69 kB

Total Files

6

Last publish

Collaborators

  • lachieh
  • ks2211
  • billyoung
  • brooksmtownsend