Skip to main content

SocketContextType

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/native

Import​

import { SocketContextType } from '@ovok/native/socket';

TypeScript shape​

type SocketContextType = {
socket: ReturnType<typeof io> | null;
isConnected: boolean;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
socketReturnType<typeof io> | null—
isConnectedboolean—

Source​

View the declaration in the SDK source.