//
// Copyright © 2025 Nevis Security AG. All rights reserved.
//

/// Uniquely identifies each method invocation initiated from React Native side.
///
/// Created by the ``NevisMobileAuthenticationSdkReactModule`` in each react method implementation.
/// Used by the ``MethodChannelHandler`` for caching the received promise resolvaer & rejecter blocks for later resolvation or rejection.
struct ReactMethod: Hashable, Sendable, Identifiable {
	let id: UUID = .init()
	let name: ReactMethodName
}
