menu
IpcEventBinding
import { IpcEventBinding } from "destack:ipc/binding";
Event binding family.
1export interface IpcEventBinding {2 createEventCounter(initial: uint64, flags: EventCounterFlags): Result<EventCounterHandle, HostError>;3 closeEventCounter(event: EventCounterHandle): Result<void, HostError>;4 readEventCounter(event: EventCounterHandle): Result<uint64, HostError>;5 writeEventCounter(event: EventCounterHandle, value: uint64): Result<void, HostError>;6}Members
createEventCounter(initial: uint64, flags: EventCounterFlags): Result<EventCounterHandle, HostError>Create one Linux event counter.
closeEventCounter(event: EventCounterHandle): Result<void, HostError>Close one event counter handle.
readEventCounter(event: EventCounterHandle): Result<uint64, HostError>Read one event counter value.
writeEventCounter(event: EventCounterHandle, value: uint64): Result<void, HostError>Add one value to an event counter.