These weren't yet exposed in mcl. They're now available under the same Meta namespace as the normal meta param structs. Even though they live as a separate trait, they should be exposed together for a consistent interface in mcl. If autoedge or autogroup ever grow additional params, we can always add: `Meta:autoedge:something` to break it down further.
25 lines
438 B
Plaintext
25 lines
438 B
Plaintext
import "fmt"
|
|
|
|
$b = true
|
|
|
|
test "greeting" {
|
|
anotherstr => fmt.printf("hello world"),
|
|
|
|
Meta => $b ?: struct{
|
|
noop => false,
|
|
retry => -1,
|
|
delay => 0,
|
|
poll => 5,
|
|
limit => 4.2,
|
|
burst => 3,
|
|
sema => ["foo:1", "bar:3",],
|
|
autoedge => true,
|
|
autogroup => true,
|
|
},
|
|
Meta:noop => false,
|
|
Meta:noop => true, # duplicates allowed atm, but not recommended!
|
|
Meta:poll => $b ?: 42,
|
|
Meta:autoedge => true,
|
|
Meta:autogroup => false,
|
|
}
|