Skip to content

propagate context through module calls #10

@mattfysh

Description

@mattfysh

related to #4

allows reusable logic to be embedded within a module and called from any contextual expression

Signal.get

inputs { text }

extract
  -> xpath:.//div[contains(@class, 'flex-row')][div[contains(text(), '$text')]]
  -> .signal-value > script
  -> @js
  -> Literal

Signals.get

import Signal

extract {
  from: $Signal({ text: "From" })
  buy_at: $Signal({ text: "Buy at" })
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions