Web SDK - IReturn

Home > rainway-sdk > IReturn

IReturn type

Signature:

export declare type IReturn = {
    discriminator: 1;
    value: IError_Return;
} | {
    discriminator: 2;
    value: IInitialize_Return;
} | {
    discriminator: 3;
    value: IShutdown_Return;
} | {
    discriminator: 4;
    value: IGetVersion_Return;
} | {
    discriminator: 5;
    value: IGetPeerId_Return;
} | {
    discriminator: 6;
    value: ISetLogLevel_Return;
} | {
    discriminator: 7;
    value: IGetLogs_Return;
} | {
    discriminator: 8;
    value: IClearLogs_Return;
} | {
    discriminator: 9;
    value: IAcceptJoinRequest_Return;
} | {
    discriminator: 10;
    value: IRejectJoinRequest_Return;
} | {
    discriminator: 11;
    value: IGetJoinRequests_Return;
} | {
    discriminator: 12;
    value: IClearJoinRequests_Return;
} | {
    discriminator: 13;
    value: IAcceptStreamRequest_Return;
} | {
    discriminator: 14;
    value: IRejectStreamRequest_Return;
} | {
    discriminator: 15;
    value: IGetStreamRequests_Return;
} | {
    discriminator: 16;
    value: IClearStreamRequests_Return;
} | {
    discriminator: 17;
    value: IGetPeerStateChanges_Return;
} | {
    discriminator: 18;
    value: IClearPeerStateChanges_Return;
} | {
    discriminator: 19;
    value: IGetPeerMessages_Return;
} | {
    discriminator: 20;
    value: IClearPeerMessages_Return;
};

References: IError_Return, IInitialize_Return, IShutdown_Return, IGetVersion_Return, IGetPeerId_Return, ISetLogLevel_Return, IGetLogs_Return, IClearLogs_Return, IAcceptJoinRequest_Return, IRejectJoinRequest_Return, IGetJoinRequests_Return, IClearJoinRequests_Return, IAcceptStreamRequest_Return, IRejectStreamRequest_Return, IGetStreamRequests_Return, IClearStreamRequests_Return, IGetPeerStateChanges_Return, IClearPeerStateChanges_Return, IGetPeerMessages_Return, IClearPeerMessages_Return