Skip to content

Commit

Permalink
Fix docs/src/public.md
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Aug 17, 2022
1 parent 341ccab commit 117f412
Showing 1 changed file with 42 additions and 8 deletions.
50 changes: 42 additions & 8 deletions docs/src/public.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,65 @@ CurrentModule = SimpleWorkflows
Pages = ["public.md"]
```

## Jobs
```@meta
CurrentModule = SimpleWorkflows.Thunks
DocTestSetup = :(using SimpleWorkflows.Thunks)
```

## `Thunks` module

```@docs
Thunk
reify!
getresult(::Thunk)
```

```@meta
CurrentModule = SimpleWorkflows.Jobs
DocTestSetup = :(using SimpleWorkflows.Jobs)
```

## `Jobs` module

```@docs
Job
@job
getresult
getstatus(x::Job)
getresult(::Job)
getstatus(::Job)
ispending
isrunning
isexited
issucceeded
isfailed
isinterrupted
pendingjobs
runningjobs
exitedjobs
succeededjobs
failedjobs
interruptedjobs
createdtime
starttime
stoptime
elapsed
description
run!(job::Job; n=1, δt=1)
run!(::Job)
interrupt!
queue
query
ntimes
```

## Workflows
```@meta
CurrentModule = SimpleWorkflows.Workflows
DocTestSetup = :(using SimpleWorkflows.Workflows)
```

## `Workflows` module

```@docs
Workflow
run!(wf::Workflow; n=5, δt=1, Δt=1, filename="saved.jld2")
getstatus(wf::Workflow)
run!(::Workflow)
getstatus(::Workflow)
chain
Expand All @@ -48,4 +76,10 @@ thread
fork
converge
spindle
pendingjobs(::Workflow)
runningjobs(::Workflow)
exitedjobs(::Workflow)
succeededjobs(::Workflow)
failedjobs(::Workflow)
interruptedjobs(::Workflow)
```

0 comments on commit 117f412

Please sign in to comment.