Skip to content

Commit e1fccdf

Browse files
committed
ImmediateExecutor is now an AbstractExecutorService.
1 parent b165ff9 commit e1fccdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/concurrent/executor/immediate_executor.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'concurrent/atomic/event'
2+
require 'concurrent/executor/abstract_executor_service'
23
require 'concurrent/executor/serial_executor_service'
34

45
module Concurrent
@@ -13,7 +14,7 @@ module Concurrent
1314
# during testing because it makes all operations deterministic.
1415
#
1516
# @note Intended for use primarily in testing and debugging.
16-
class ImmediateExecutor
17+
class ImmediateExecutor < AbstractExecutorService
1718
include SerialExecutorService
1819

1920
# Creates a new executor

0 commit comments

Comments
 (0)