Sha256: cc204da61c51e888da2fd69c8df9ad6de91fe7f0ba09a79991eb7cfa20e84d46

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

require 'glimmer/dsl/static_expression'
require 'glimmer/dsl/top_level_expression'
require 'glimmer/opal/display_proxy'

module Glimmer
  module DSL
    module Opal
      class AsyncExecExpression < StaticExpression
        include TopLevelExpression

        def interpret(parent, keyword, *args, &block)
          Glimmer::Opal::DisplayProxy.instance.async_exec(&block)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.1.0 lib/glimmer/dsl/opal/async_exec_expression.rb
glimmer-dsl-opal-0.0.9 lib/glimmer/dsl/opal/async_exec_expression.rb
glimmer-dsl-opal-0.0.8 lib/glimmer/dsl/opal/async_exec_expression.rb
glimmer-dsl-opal-0.0.7 lib/glimmer/dsl/opal/async_exec_expression.rb