mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
11 lines
393 B
Dart
11 lines
393 B
Dart
|
import 'dart:async';
|
||
|
|
||
|
import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||
|
|
||
|
/// Store chain height subscriptions for each coin.
|
||
|
abstract class ElectrumxChainHeightService {
|
||
|
static Map<Coin, StreamSubscription<dynamic>?> subscriptions = {};
|
||
|
// Used to hold chain height subscriptions for each coin as in:
|
||
|
// ElectrumxChainHeightService.subscriptions[cryptoCurrency.coin] = sub;
|
||
|
}
|