Skip to content

Commit

Permalink
Remove queue
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed May 12, 2024
1 parent f03d641 commit 076aec1
Show file tree
Hide file tree
Showing 10 changed files with 88 additions and 618 deletions.
44 changes: 0 additions & 44 deletions benchmark/event_bus_benchmark.dart

This file was deleted.

202 changes: 0 additions & 202 deletions lib/src/event_bus.dart

This file was deleted.

86 changes: 0 additions & 86 deletions lib/src/model/codes.dart

This file was deleted.

6 changes: 0 additions & 6 deletions lib/src/model/command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ import 'package:meta/meta.dart';

import 'stream_position.dart';

/// Command builder.
typedef SpinifyCommandBuilder = SpinifyCommand Function(
int id,
DateTime timestamp,
);

/// {@template command}
/// Command sent from a client to a server.
///
Expand Down
28 changes: 0 additions & 28 deletions lib/src/model/event_bus_events.dart

This file was deleted.

8 changes: 1 addition & 7 deletions lib/src/model/spinify_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ abstract interface class ISpinify
ISpinifyHistoryOwner,
ISpinifyRemoteProcedureCall,
ISpinifyMetricsOwner {
/// Unique client identifier.
abstract final int id;

/// Spinify configuration.
abstract final SpinifyConfig config;

Expand All @@ -44,10 +41,7 @@ abstract interface class ISpinify
Future<void> ready();

/// Disconnect from the server.
Future<void> disconnect([
int code = 0,
String reason = 'Disconnect called',
]);
Future<void> disconnect();

/// Client if not needed anymore.
/// Permanent close connection to the server and
Expand Down

0 comments on commit 076aec1

Please sign in to comment.