Class: AnyCable::Rails::Server::Executor

Inherits:
Object
  • Object
show all
Defined in:
lib/anycable/rails/next/connection.rb

Overview

Implements an executor inteface

Defined Under Namespace

Classes: NoopTimer

Constant Summary collapse

NOOP_TIMER =
NoopTimer.new.freeze

Instance Method Summary collapse

Instance Method Details

#postObject

Raises:

  • (NonImplementedError)


22
23
24
# File 'lib/anycable/rails/next/connection.rb', line 22

def post(...)
  raise NonImplementedError, "Executor#post is not implemented in AnyCable context"
end

#timerObject



26
# File 'lib/anycable/rails/next/connection.rb', line 26

def timer(...) = NOOP_TIMER