ambitious-actor-36781
06/16/2022, 2:02 AMGet(Result, Request, data)
Pants assumes that data
is immutable, and forces data
to be hashable.
This then allows Pants to memoise/cache calls to Get
so no matter how many times Get(Result, Request, 1)
is called, the rule will only ever get executed once.
Oh and everything is async.
How does Pants handle MultiGet( Get(Result, Request, 1), Get(Result, Request 1) )
?
Is this undefined behaviour? or can we still trust that the rule will only be ran once?hundreds-father-404
06/16/2022, 2:03 AMambitious-actor-36781
06/16/2022, 2:04 AMhundreds-father-404
06/16/2022, 2:05 AM./pants
invokes)ambitious-actor-36781
06/16/2022, 2:06 AM