UNPKG

@temporalio/worker

Version:
7 lines (6 loc) 453 B
import type { coresdk } from '@temporalio/proto'; import { ParentWorkflowInfo } from '@temporalio/workflow'; export declare const MiB: number; export declare function toMB(bytes: number, fractionDigits?: number): string; export declare function byteArrayToBuffer(array: Uint8Array): ArrayBuffer; export declare function convertToParentWorkflowType(parent: coresdk.common.INamespacedWorkflowExecution | null | undefined): ParentWorkflowInfo | undefined;