setPendingSessionRequest method
Implementation
Future<void> setPendingSessionRequest(
PendingRequestStruct pendingRequest,
) async {
final expiry =
getEngineRpcOptions(JsonRpcMethod.WC_SESSION_REQUEST).req.ttl;
await client.pendingRequest.set(pendingRequest.id, pendingRequest);
if (expiry != null) {
client.core.expirer.set(pendingRequest.id.toString(), expiry);
}
}