A Runnable has a run method which directly invokes the user-defined function - useful for unit testing.

Type parameters

  • T

Index

Properties

Properties

run

run: function

Type declaration

    • (data: T, context: any): PromiseLike<any> | any
    • Parameters

      • data: T
      • context: any

      Returns PromiseLike<any> | any