@wasmcloud/actor-core
Advanced tools
+1
-16
@@ -6,17 +6,2 @@ /** | ||
| // 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); | ||
| } | ||
| export * from './module'; |
+1
-1
| { | ||
| "name": "@wasmcloud/actor-core", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "description": "wasmCloud Core Actor Interface", | ||
@@ -5,0 +5,0 @@ "author": "wasmCloud Team", |
+20
-1
| # wasmCloud Core Actor Interface | ||
| Core operations for wasmCloud actors. | ||
| All wasmCloud actors must respond to the core health request message. | ||
| All wasmCloud actors must respond to the core health request message. | ||
| ## Core AssemblyScript Actor Code | ||
| ```typescript | ||
| // 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); | ||
| } | ||
| ``` |
19788
0.39%25
316.67%242
-5.47%