OxL Reference

@ @pinned

@pinned

Applies to: function, actor, extern function

Section: §8.1, §12.6

Syntax

ebnf
Attr        = "@" Path [ "(" [ AttrArgs ] ")" ] ;

Grammar: App. A

Defined in

  • 8.1 Execution model — The unit of execution is the task
  • 12.6 Distributed computation — cluster.shards(src) is for sharded tables and actors; map runs close to the data, the function MUST be transferable (§7.3).
  • 4.9 Attributes — Syntax: @name or @name(arguments) before a declaration, field, parameter or rpc.

Related diagnostics

blocking-in-task, deprecated

See also